aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/macro.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/macro.lux')
-rw-r--r--stdlib/source/lux/macro.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/macro.lux b/stdlib/source/lux/macro.lux
index e800efcd5..53fe18c82 100644
--- a/stdlib/source/lux/macro.lux
+++ b/stdlib/source/lux/macro.lux
@@ -363,7 +363,7 @@
A prefix can be given (or just be empty text \"\") to better identify the code for debugging purposes."}
(-> Text (Meta Code))
(function [compiler]
- (#e;Success [(update@ #;seed n.inc compiler)
+ (#e;Success [(update@ #;seed n/inc compiler)
(code;symbol ["" ($_ text/compose "__gensym__" prefix (:: number;Codec<Text,Nat> encode (get@ #;seed compiler)))])])))
(def: (get-local-symbol ast)
@@ -650,7 +650,7 @@
(<macro> #omit
(def: (foo bar baz)
(-> Int Int Int)
- (i.+ bar baz))))}
+ (i/+ bar baz))))}
(case tokens
(^ (list [_ (#;Tag ["" "omit"])]
token))