about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2024-04-16 22:31:04 -0500
committerCase Duckworth2024-04-16 22:31:04 -0500
commit0e65d12507f0b8ac9188b3768c33775a3062b75b (patch)
tree8aa187374de04a76a5b4089c4dd7154573c24660
parentAllow empty alternative branch in "if" (diff)
downloadlam-0e65d12507f0b8ac9188b3768c33775a3062b75b.tar.gz
lam-0e65d12507f0b8ac9188b3768c33775a3062b75b.zip
Fix bug in - HEAD main
-rw-r--r--core.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core.lua b/core.lua index 4f84f7f..647d74a 100644 --- a/core.lua +++ b/core.lua
@@ -180,7 +180,7 @@ env["-"] = function (r)
180 if r == null then return -1 end 180 if r == null then return -1 end
181 if r[2] == null then return (- r[1]) end 181 if r[2] == null then return (- r[1]) end
182 return fold(function (a, b) 182 return fold(function (a, b)
183 return a - b 183 return b - a
184 end, r[1], r[2]) 184 end, r[1], r[2])
185end 185end
186 186