3 ms·
I wrote something like that several years ago: https://github.com/egamble/let-else https://github.com/egamble/let-else
by egamble 10y ago
I wrote something like that several years ago: https://github.com/egamble/let-else https://github.com/egamble/let-else
- sdegutis 10y agoReally cool! May have to borrow this some day.
- SomeHacker44 10y agoI really like `:delay`. It will allow efficiencies in my already Haskell-esque "define all possible values used in a single big let" style I program in. My code all handles nil safely and returns nil when appropriate but it would be even better to avoid evaluating things unless used in the body of the else (or a later binding).