Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
EdwardCoffin
2y ago
0 comments
Share
Smalltalk only allows the return from the block's lexically enclosing method, not an arbitrarily specifiable context like Common Lisp does. It's discussed a bit on c2.com [1]
[1]
https://wiki.c2.com/?SmalltalkBlockReturn
0 comments
default
newest
oldest
xkriva11
2y ago
In Pharo or Squeak, you can just send the "return:" message to any context (except contexts that have nowhere to return).
j
/
k
navigate · click thread line to collapse