diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/target/lua.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/source/lux/target/lua.lux b/stdlib/source/lux/target/lua.lux index 7aa62345f..c969cc790 100644 --- a/stdlib/source/lux/target/lua.lux +++ b/stdlib/source/lux/target/lua.lux @@ -6,6 +6,7 @@ ["s" code]]] [data [number + ["i" int] ["f" frac]] ["." text ["%" format (#+ format)]] @@ -73,7 +74,7 @@ (def: #export (int value) (-> Int Literal) - (:abstraction (.if (i/< +0 value) + (:abstraction (.if (i.< +0 value) (%.int value) (%.nat (.nat value))))) |