diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-03-11 19:09:28 +0300 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-03-11 19:09:28 +0300 |
| commit | fe916085784ca5615c879f80261f01954a2a1dd5 (patch) | |
| tree | d0e205e1510a9b81f4bc31f4524a1f226bf68e59 /init.fnl | |
| parent | 129a3a5d48f429de174faa6368e9625dcfb65f9e (diff) | |
fix: update macros comparison function builder
No need to modify the metatable in macros.
Diffstat (limited to 'init.fnl')
| -rw-r--r-- | init.fnl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -957,6 +957,7 @@ functions also reuse this indexing method, such as sets." (set count-b (+ count-b 1))) (set res (= count-a count-b))) res) + :else false)) ([x y & xs] (reduce #(and $1 $2) (eq x y) (mapv #(eq x $) xs))))) |