summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-11-09 09:17:48 +0300
committerAndrey Orst <andreyorst@gmail.com>2020-11-09 09:17:48 +0300
commitae76d82a06a9fcfe84ee0ae86f4a5440eaf0b656 (patch)
treeb60c668d52b1c5cc206629e2e5ea6b468c15d615 /macros
parente9fba1130b30fc223bceafc7126a3fb1da62cec9 (diff)
fix: use not= instead of Lua's ~=
Diffstat (limited to 'macros')
-rw-r--r--macros/fn.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/fn.fnl b/macros/fn.fnl
index 24f909d..8146a0b 100644
--- a/macros/fn.fnl
+++ b/macros/fn.fnl
@@ -79,7 +79,7 @@
(var prev nil)
(each [_ cur (ipairs t)]
(if prev
- (when (~= (+ prev 1) cur)
+ (when (not= (+ prev 1) cur)
(lua "return false")))
(set prev cur))
prev))
@@ -156,7 +156,7 @@
,(arity-dispatcher
'len#
bodies
- (if (~= (next bodies&) nil)
+ (if (not= (next bodies&) nil)
(. bodies& 1))
fname))))