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.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/macro.lux b/stdlib/source/lux/macro.lux
index c13a161ea..4843b1fc2 100644
--- a/stdlib/source/lux/macro.lux
+++ b/stdlib/source/lux/macro.lux
@@ -11,7 +11,7 @@
["." name ("#@." codec equivalence)]
["." maybe]
[number
- ["." nat ("#@." decimal)]
+ ["n" nat]
["i" int]]
["." text ("#@." monoid equivalence)]
[collection
@@ -371,7 +371,7 @@
(#try.Success [(update@ #.seed inc compiler)
(|> compiler
(get@ #.seed)
- (:: nat.decimal encode)
+ (:: n.decimal encode)
($_ text@compose "__gensym__" prefix)
[""] code.identifier)])))
@@ -449,7 +449,7 @@
#.None
(#.Cons [var bound] bindings')
- (if (n/= idx var)
+ (if (n.= idx var)
bound
(find-type-var idx bindings'))))