« Return to Thread: Literal instance slots, 10 foo := 1

Re: Magic Literal instances

by Steve Dekorte :: Rate this Message:

Reply to Author | View in Thread


FTM, literals in Io aren't special in any way - they are just normal  
objects that are set on a Message object's "cachedResult" slot. In  
this way, you can make anything you like a "literal".

 « Return to Thread: Literal instance slots, 10 foo := 1