[Seaside] Load Magritte for VisualWorks and Magritte - Tutorial

Ramon Leon ramon.leon at allresnet.com
Fri Jan 12 17:34:07 UTC 2007


> This is the context: 
>  
> prepareOptions: aCollection
>  ^ aCollection asArray in: [ :result |
>   self isSorted
>    ifTrue: [ (result asSortedCollection: self sortBlock) asArray ]
>    ifFalse: [ result ] ]
>  
>  
>  
> What do i do resolve this problem?
>  
> Any pointers would be greatly appreciated!
> 
> Thank, 
> 
> Dario Trussardi Romano

In Squeak, in is simply this...

in: aBlock
	"Evaluate the given block with the receiver as its argument."
	^ aBlock value: self

Ramon Leon
http://onsmalltalk.com  



More information about the Seaside mailing list