3 ms·
> And to not have 'function' as a primitive… "A block is essentially an anonymous function." [ :x | 1 + x ] value: 2 ⇒ 3 https://cuis-smalltalk.githu
by igouy 3y ago
> And to not have 'function' as a primitive…
"A block is essentially an anonymous function."
[ :x | 1 + x ] value: 2
⇒ 3
https://cuis-smalltalk.github.io/TheCuisBook/Block-syntax.html https://cuis-smalltalk.github.io/TheCuisBook/Block-syntax.ht...