3 ms·
I'd say there is some room for confusion, even if it's not in the grammar. I have spent quite some time chasing bugs of the type (- a -1) where the second minu
by kpil 10y ago
I'd say there is some room for confusion, even if it's not in the grammar.
I have spent quite some time chasing bugs of the type (- a -1) where the second minus ended up there because of either a copy/paste-error or a brain fart due to the original expression was a - 1...
- wolfgang42 10y agoI'm not sure how (- a - 1) would work, unless you've named something "-"?
- Grue3 10y ago- is a function. Because Closure is a Lisp1, substraction function being passed as an argument like that is very probable. In Common Lisp you'd pass #'-, so it's clear that it's a function being passed.