fez-lisp 1.2.45 → 1.2.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/lib/baked/std.js +1 -1
- package/package.json +1 -1
- package/src/utils.js +2 -2
package/README.md
CHANGED
@@ -206,10 +206,12 @@ and only when compiled to JavaScript.
|
|
206
206
|
|
207
207
|
```js
|
208
208
|
console.log(
|
209
|
-
|
210
|
-
|
209
|
+
eval(
|
210
|
+
fez(
|
211
|
+
`(let recursive:sum-to (lambda n acc (if (= n 0) acc (recursive:sum-to (- n 1) (+ n acc)))))
|
211
212
|
(recursive:sum-to 10000 0)`,
|
212
|
-
|
213
|
+
{ compile: 1 }
|
214
|
+
)
|
213
215
|
)
|
214
216
|
)
|
215
217
|
// 50005000
|