diff options
Diffstat (limited to 'stdlib/source/test/lux/type/unit.lux')
-rw-r--r-- | stdlib/source/test/lux/type/unit.lux | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/stdlib/source/test/lux/type/unit.lux b/stdlib/source/test/lux/type/unit.lux index f976aae54..edf3fe6bd 100644 --- a/stdlib/source/test/lux/type/unit.lux +++ b/stdlib/source/test/lux/type/unit.lux @@ -12,7 +12,7 @@ ["$[0]" order] ["$[0]" enum]]] [macro - [syntax (.only syntax:)] + [syntax (.only syntax)] ["[0]" code]] [math ["[0]" random (.only Random)] @@ -77,10 +77,11 @@ (i.= expected))) ))))) -(syntax: (natural []) - (at meta.monad each - (|>> code.nat list) - meta.seed)) +(def: natural + (syntax (_ []) + (at meta.monad each + (|>> code.nat list) + meta.seed))) (with_expansions [<from> (..natural) <to> (..natural)] |