[racket] Are there any functional structs in Racket

From: Tony Garnock-Jones (tonyg at ccs.neu.edu)
Date: Wed Oct 20 14:35:55 EDT 2010

Neil Van Dyke wrote:
> The only reason I'm not 100% thrilled by abbreviating it as "person/age" 
> is that that identifier is just a punctuation character rotated 45 
> degrees away from the getter, "person-age".

That (quasisymmetry) was one of the things I liked about it :-)

    (person-age p)
    (person/age p 25)

Would 90 degrees be better? (180 degrees makes a nice metaphor but has 
irremediable practical problems)

    (person-age p)
    (person|age p 25)

Hmm, shame it's the symbol quoter.


Posted on the users mailing list.