aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/target/lua.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/target/lua.lux')
-rw-r--r--stdlib/source/lux/target/lua.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/target/lua.lux b/stdlib/source/lux/target/lua.lux
index d9907dbc4..7aa62345f 100644
--- a/stdlib/source/lux/target/lua.lux
+++ b/stdlib/source/lux/target/lua.lux
@@ -6,7 +6,7 @@
["s" code]]]
[data
[number
- ["." frac]]
+ ["f" frac]]
["." text
["%" format (#+ format)]]
[collection
@@ -79,13 +79,13 @@
(def: #export float
(-> Frac Literal)
- (|>> (cond> [(f/= frac.positive-infinity)]
+ (|>> (cond> [(f.= f.positive-infinity)]
[(new> "(1.0/0.0)" [])]
- [(f/= frac.negative-infinity)]
+ [(f.= f.negative-infinity)]
[(new> "(-1.0/0.0)" [])]
- [(f/= frac.not-a-number)]
+ [(f.= f.not-a-number)]
[(new> "(0.0/0.0)" [])]
## else