Why I love closures ;)

|tt|
tt := Transcript.
[1 to: 10 do: [:i | tt show: i printString; show: '*'.
                                        Processor yield ].
        tt flush        ]  fork.
[100 to: 110 do: [:i | tt show: i printString; show: '-'.
                                        Processor yield  ].
        tt flush        ] fork.

works and show that the transcript is bad :)


1*100-2101*-3*102-4*103-5*104-6*-7*106-8*107-9*-10*109-110-


> Hi,
>
> I have merged the closure changed in the 1062 image (manually).
>
> We now can continue with this image to provide updates using the
> update stream:
>
>       http://gforge.inria.fr/frs/download.php/20098/ 
> Pharo0.1Core-10262cl.zip
>
>
> Changes:
> -> Closure changes merged.
> -> BlockClosurePharo.1.cs
> -> FixDebugger.1.cs
> -> TraitDescription-closure support.st
> -> BlockContextTestFix.1.cs
> -> ArrayLiteralTestFix.1.cs
>
>
> --
> Marcus Denker  --  [email protected]
> http://www.marcusdenker.de
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to