A few possible errata
Shiro Kawai
(31 Jul 2022 09:54 UTC)
|
Re: A few possible errata
Arthur A. Gleckler
(03 Aug 2022 21:15 UTC)
|
Re: A few possible errata
Wolfgang Corcoran-Mathe
(04 Aug 2022 00:22 UTC)
|
Re: A few possible errata
Wolfgang Corcoran-Mathe
(04 Aug 2022 02:28 UTC)
|
Re: A few possible errata
John Cowan
(05 Aug 2022 22:51 UTC)
|
Re: A few possible errata Wolfgang Corcoran-Mathe (06 Aug 2022 14:12 UTC)
|
Re: A few possible errata
John Cowan
(06 Aug 2022 14:23 UTC)
|
Re: A few possible errata
Arthur A. Gleckler
(06 Aug 2022 19:34 UTC)
|
Re: A few possible errata
Wolfgang Corcoran-Mathe
(06 Aug 2022 19:48 UTC)
|
Re: A few possible errata
John Cowan
(06 Aug 2022 21:58 UTC)
|
Re: A few possible errata Wolfgang Corcoran-Mathe 06 Aug 2022 14:11 UTC
On 2022-08-05 18:51 -0400, John Cowan wrote: > > - enum-set-indexer : The srfi text says "..., if the symbol is the name of > > an enum in enum-set, then the ordinal of that enum is returned. Otherwise, > > #f is returned." However, the reference implementation and tests doesn't > > check if the name is in the given set; it is enough that the named enum is > > in the enum type of the set. R6RS agrees with the reference implementation. > > Since this is for R6RS compatibility only, the definition should agree with > R6RS. How's this? "Returns a procedure that accepts one argument, a symbol. When this procedure is called, if the symbol is the name of an enum in *the enum type associated with* enum-set, then the ordinal of that enum is returned. Otherwise, #f is returned." -- Wolfgang Corcoran-Mathe <xxxxxx@sigwinch.xyz>