diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2023-05-15 22:42:06 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2023-05-15 22:42:06 +0300 |
| commit | a11d9a991b96178f5a572473841434ebe1715d72 (patch) | |
| tree | 946b51ab39d67826f328ade9b36802d832065765 | |
| parent | 1fd989fd49de7cd4993d00b58437f1c44b7784e9 (diff) | |
add reduced
| -rw-r--r-- | .depend.mk | 4 | ||||
| -rw-r--r-- | init.fnl | 2 | ||||
| m--------- | lazy-seq | 0 |
3 files changed, 1 insertions, 5 deletions
diff --git a/.depend.mk b/.depend.mk deleted file mode 100644 index cce5b25..0000000 --- a/.depend.mk +++ /dev/null @@ -1,4 +0,0 @@ -init.lua: init.fnl macros.fnl -tests/core.lua: tests/core.fnl macros.fnl init.fnl -tests/macros.lua: tests/macros.fnl macros.fnl -tests/fn.lua: tests/fn.fnl macros.fnl @@ -1485,7 +1485,7 @@ called. Early termination is supported via `reduced`. ```" [value] (doto (lazy.reduced value) - (-> getmetatable (tset :cljlib/deref #$.value)))) + (-> getmetatable (tset :cljlib/deref #($:unbox))))) (defn reduced? "Returns true if `x` is the result of a call to reduced" diff --git a/lazy-seq b/lazy-seq -Subproject 2949307a2dbf1dda6060a801431e8c0be062b2a +Subproject 8022596128e81f21b5d9be40f41b782415e1a39 |