I have a prototype that supports syntax like this one:
(dot a-world ufo wings left) which would select the left field of a wings field in a ufo field of a world struct. Similarly, (set a-world ufo wings left 'broken) would be a functional update. I intend to add it into the 2htdp languages. On Oct 20, 2010, at 2:21 PM, Tony Garnock-Jones wrote: > Stephen Bloch wrote: >> person-age-set >> set-person-age (without the !) >> person-with-age > > I like this last one, especially if it were possible to use the old > abbreviation of "/" for "-with-": > > (person/age p 25) > > Tony > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users