technoblogy / ulisp-esp

A version of the Lisp programming language for ESP32-based boards.
MIT License
106 stars 37 forks source link

The or special form evaluates its argument twice #44

Closed technoblogy closed 3 years ago

technoblogy commented 3 years ago

For example:

> (let ((x 0)) (or (incf x)) x)
2

Thanks to Max-Gerd Retzlaff for finding this.