aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/world/db/sql.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/world/db/sql.lux')
-rw-r--r--stdlib/source/lux/world/db/sql.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/world/db/sql.lux b/stdlib/source/lux/world/db/sql.lux
index 13d6c8b6f..f9b6c1e1d 100644
--- a/stdlib/source/lux/world/db/sql.lux
+++ b/stdlib/source/lux/world/db/sql.lux
@@ -3,6 +3,8 @@
[control
[monad (#+ do)]]
[data
+ [number
+ ["i" int]]
["." text ("#;." equivalence)
["%" format (#+ format)]]
[collection
@@ -121,7 +123,7 @@
(def: #export (int value)
(-> Int Literal)
- (..literal (if (i/< +0 value)
+ (..literal (if (i.< +0 value)
(%.int value)
(%.nat (.nat value)))))