diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/target/lua.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/target/lua.lux b/stdlib/source/lux/target/lua.lux index 8dde357cc..d9907dbc4 100644 --- a/stdlib/source/lux/target/lua.lux +++ b/stdlib/source/lux/target/lua.lux @@ -8,7 +8,7 @@ [number ["." frac]] ["." text - format] + ["%" format (#+ format)]] [collection ["." list ("#@." functor fold)]]] [macro @@ -74,8 +74,8 @@ (def: #export (int value) (-> Int Literal) (:abstraction (.if (i/< +0 value) - (%i value) - (%n (.nat value))))) + (%.int value) + (%.nat (.nat value))))) (def: #export float (-> Frac Literal) @@ -89,7 +89,7 @@ [(new> "(0.0/0.0)" [])] ## else - [%f]) + [%.frac]) :abstraction)) (def: sanitize |