[racket] Are there any functional structs in Racket
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.
Tony