[plt-scheme] Dot-notation for structure field access

From: jos koot (jos.koot at telefonica.net)
Date: Thu Mar 15 10:29:38 EDT 2007

I forgot to mention that the identifiers for def and var can contain periods:

(define-struct-type (a.b s c p) (c.d) (make-inspector))
(a.b e.f (1))
e.f.c.d ;--> 1

(((((lambda(x)((((((((x x)x)x)x)x)x)x)x))
    (lambda(x)(lambda(y)(x(x y)))))
  (lambda()(printf "Greetings, Jos~n")))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070315/bc0a07f0/attachment.html>

Posted on the users mailing list.