[ENH] Lispy list functions

Ian Piumarta Ian.Piumarta at inria.fr
Fri Sep 10 14:15:11 UTC 1999


(Excuse my idiot ramblings: I'm still not back in "serious" mode...  ;-)

> But if
> I use it *intentionally* it should work. 
> 
> Now, how do I tell the system if I intended this or not?

	Object>>asCollection
	    ^self asOrderedCollection

	Collection>>asCollection
	    ^self

suivi de...

	anyObject asCollection someCollectionProtolThingOrOther

(I doubt it's safe in general to redefine Object>>species to arrive at the
more refined solution :^[<- )

Ian

PS: that was supposed to be a "Zappa frowny" ;o)





More information about the Squeak-dev mailing list