[squeak-dev] Re: [Question] nil, true, false in array literals

Claus Kick claus_kick at web.de
Sat Dec 6 23:32:11 UTC 2008


Stéphane Rollandin wrote:
> 
>>> prog := #(funcall (lambda (x) (sqrt x)) 5) asCons
>>
>>
>> and then you do something like this
>> (anArray at:1) perform: ((anArray at:2) at:1) ? :)
> 
> no, the #asCons part convert the array into a cons cell.

Ok?

> the actual usage is in methods like ULisp class>>#amb where Lisp code 
> can be written directly in Smalltalk:
> 

*snip code*

Ah, ok, this makes sense indeed!

> 
> 
> ... so this goes a little beyond the fast dirty hack thing :)

Ok, point taken, this goes definitely beyond a fast and dirty hack :)



More information about the Squeak-dev mailing list