I've added examples to the SRFI 209 document in my repository; a
preview can be viewed at:
https://htmlpreview.github.io/?https://github.com/Zipheir/srfi-209/blob/master/srfi-209.html
I'd like to ask for comments on these additions before considering
a merge into master.
I'm a little concerned that these examples may not be very useful,
since they are given in terms of example enum types "defined" early
in the document. It might be awkward to have to refer back to
these types. And, of course, these are diagnostic examples derived
from the tests; more practical examples of enum types would be better.
Please let me know what you think.
An additional note: I think the "Constructor" and "Predicates"
sections should be swapped, since it's more natural to begin the
specification with the enum type constructor. It's impossible to
give examples of the use of enum-type-contains?, e.g., without the
use of make-enum-type to actually define an enum type.
--
Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>
"It from bit." --John Wheeler