diff options
| author | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 19:54:03 +0000 |
|---|---|---|
| committer | Andrey Listopadov <andreyorst@gmail.com> | 2021-06-23 19:54:03 +0000 |
| commit | e1bafba9201e818d7aa3a51d8dd30654c55c7ff3 (patch) | |
| tree | dacf3c29ce3849835e5d4c7f934a7f42a6a0e7c2 /init.fnl | |
| parent | 89229826da0c2b8e019f2f078c2e8de7471e1d7e (diff) | |
| parent | f49835c11b16b0d8cf136f076c31cbc28f1f4931 (diff) | |
Merge branch 'new-library-loading-system' into 'master'
refactor library to use new init-macros.fnl feature
See merge request andreyorst/fennel-cljlib!11
Diffstat (limited to 'init.fnl')
| -rw-r--r-- | init.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,7 +54,7 @@ non-ASCII strings."}) (import-macros {: fn* : into : empty : with-meta : when-let : if-let : when-some : if-some} - (if (and ... (not= ... :init)) (.. ... :.macros) :macros)) + (if (and ... (not= ... :init)) (.. ... :.init-macros) :init-macros)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Utility functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -740,7 +740,7 @@ Map `mul' over two tables: Basic `zipmap' implementation: ``` fennel -(import-macros {: into} :macros) +(import-macros {: into} :init-macros) (fn zipmap [keys vals] (into {} (mapv vector keys vals))) |