diff options
Diffstat (limited to 'utils.moon')
| -rw-r--r-- | utils.moon | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -64,6 +64,10 @@ utils = { with tot = 0 for _,x in pairs(t) do tot += x + product: (t)-> + with prod = 1 + for _,x in pairs(t) do prod *= x + all: (t)-> for _,x in pairs t if not x then return false |
