[racket] return value of build-struct-names

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Sun Sep 4 14:31:57 EDT 2011

The docs for build-struct-names says

The result is a list of identifiers:
* struct:name-id
* ctr-name, or make-name-id if ctr-name is #f
* name-id?
* name-id-field, for each field in field-ids.
* set-name-id-field! (getter and setter names alternate).
* ....

I presume this last line (....) is just a typo?

Also, the above text would suggest that all the getters precede all
the setters, but if both omit-sel? and omit-set? arguments are given,
the getters and setters are interleaved.

Shriram


Posted on the users mailing list.