summaryrefslogtreecommitdiff
path: root/init.fnl
diff options
context:
space:
mode:
authorAndrey Listopadov <andreyorst@gmail.com>2021-06-23 19:54:03 +0000
committerAndrey Listopadov <andreyorst@gmail.com>2021-06-23 19:54:03 +0000
commite1bafba9201e818d7aa3a51d8dd30654c55c7ff3 (patch)
treedacf3c29ce3849835e5d4c7f934a7f42a6a0e7c2 /init.fnl
parent89229826da0c2b8e019f2f078c2e8de7471e1d7e (diff)
parentf49835c11b16b0d8cf136f076c31cbc28f1f4931 (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.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.fnl b/init.fnl
index 2eafa45..845ebbb 100644
--- a/init.fnl
+++ b/init.fnl
@@ -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)))