Skip to content

Commit

Permalink
docs(reference): correct module names in snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
aileot committed Apr 14, 2024
1 parent 1d41f15 commit 563fdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Note that quote position depends on where the wrapper macros are defined:

```fennel
;; in foobar.fnl
(import-macros {: map!} :laurel)
(import-macros {: map!} :laurel.macros)
(macro buf-map! [...]
`(map! &default-opts {:buffer 0} ,...))
Expand All @@ -202,7 +202,7 @@ Note that quote position depends on where the wrapper macros are defined:

```fennel
;; in my/macros.fnl
(local {: map!} (require :laurel))
(local {: map!} (require :laurel.macros))
(fn buf-map! [...]
(map! `&default-opts {:buffer 0} ...))
Expand Down

0 comments on commit 563fdbe

Please sign in to comment.