diff options
author | Case Duckworth | 2024-04-16 22:31:04 -0500 |
---|---|---|
committer | Case Duckworth | 2024-04-16 22:31:04 -0500 |
commit | 0e65d12507f0b8ac9188b3768c33775a3062b75b (patch) | |
tree | 8aa187374de04a76a5b4089c4dd7154573c24660 | |
parent | Allow empty alternative branch in "if" (diff) | |
download | lam-0e65d12507f0b8ac9188b3768c33775a3062b75b.tar.gz lam-0e65d12507f0b8ac9188b3768c33775a3062b75b.zip |
-rw-r--r-- | core.lua | 2 |
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]) |
185 | end | 185 | end |
186 | 186 | ||