#scala
calling return in Scala is like invoking the continuation in Scheme
If you want to change selection, open document below and click on "Move attachment"
tpolecatype) you know that the expression has no normal form; when evaluated it must loop forever, exit the VM, or (behind door #3) abruptly pass control elsewhere, which is what's happening here.
If your reaction is "well logically you're just <span>invoking the continuation, which we totally do all the time in Scheme so I don't see the problem" then fine. Cookie for you. The rest of us think it's insane.
Return is not referentially transparent.
This kind of goes without saying, but just in case you're not sure what thi Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details