HOM - Higher Order Messages

Lic. Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Fri Apr 21 13:16:00 UTC 2006


Bert Freudenberg puso en su mail :

> (oldArray atAll: (1 to: n)) select: #notNil
> 
> ... which you might call a very lightweight HOM.

I like HOM idea.

What if you could have ?

newArray := (oldArray allElements: oldArray ) select: #notNil.


__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Squeak-dev mailing list