[racket] keyword initialization of structs?

From: Dmitry Pavlov (dpavlov at ipa.nw.ru)
Date: Mon Mar 5 10:16:14 EST 2012

Hello,

I was wondering if Racket's struct instances can be initialized
with keywords, like in the following example written in CL:


* (defstruct foo bar baz)
FOO

* (make-foo :bar 1 :baz 2)
#S(FOO :BAR 1 :BAZ 2)


Best regards,

Dmitry

Posted on the users mailing list.