> "Alex" == Alex Schenkman writes:
Alex> What does this mean?
Alex> A closure is a block, right? And Squeak has already blocks...
A closure is a block but not all blocks are closures.
With classic smalltalk 80 and Squeak:
a := (1 to: 10) do: [:n | [n]].
b := a collect: [:each | each value]
Hello list:
I've seen some messages talking about incorporating closure support into
Squeak/Pharo.
What does this mean?
A closure is a block, right? And Squeak has already blocks...
Thanks in advance!
___
Beginners mailing list
Beginners@lists.squeakfo
Hi Gabriel,
GLT> Hi! this is the first time I use Smalltalk. I created a
welcome to a brand new world!
GLT> class called Celd and I wanted to create a class called Matrix
GLT> which will be a 2D-array of Celd or a Matrix if you prefere.
There is a class Matrix already. And in older Squeaks (3.