oxalorg / 4ever-clojure

Pure cljs version of 4clojure, meant to run forever!
https://4clojure.oxal.org
230 stars 28 forks source link

Considering removing SCI hack for evaluating "infinite" sequences #51

Closed borkdude closed 2 years ago

borkdude commented 2 years ago

In https://tryclojure.org/ I decided to just use*print-length* to prevent (range) from hanging the browser. I think this is nicer and does not rely on hacking SCI. SCI 0.3.1 changed significantly and the hack will not work there anymore (it's still possible but the hack needs to change).

borkdude commented 2 years ago
Screen Shot 2022-02-22 at 23 58 36