Comment by lelanthran
3 days ago
> OK, if you squint enough that by "block of code" you mean closure, or function object,
But we aren't squinting here; those closures can't perform a return where your `new-if` function is being used, they can't perform a `return` like a proper `if` can, you can't goto, or break or continue.
It's just a function taking functions, with all the restrictions that that entails.
No comments yet
Contribute on Hacker News ↗