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 /init.fnl | |
| parent | 1fd989fd49de7cd4993d00b58437f1c44b7784e9 (diff) | |
add reduced
Diffstat (limited to 'init.fnl')
| -rw-r--r-- | init.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |