Re: Document and implementation disagree on argument order for char-set-unfold[!] Bradley Lucier (09 Jul 2023 16:01 UTC)
(missing)

Re: Document and implementation disagree on argument order for char-set-unfold[!] Bradley Lucier 09 Jul 2023 16:01 UTC

On 7/8/23 11:21 PM, Arthur A. Gleckler wrote:
 > The document is normative, so the implementation and tests should be
 > updated to match.  I'd be grateful for a patch.

I just searched github for

"char-set-unfold p f g"

and for

"char-set-unfold f p g"

The only instances of the latter are in various copies of

srfi-common/index/signatures.scm

and in various copies of Chicken's documentation of SRFI 14.

The former occurs in every other SRFI 14 implementation (not all of
which are direct copies from the sample implementation) and in all other
documentation files.

So it seems that all other implementors (except I) realized that the
SRFI 14 document had a typo and silently corrected it.

I guess I support Marc Nieper-Wißkirchen's position that it's just a
typo and that there should be a post-finalization correction (after 23
years!).

Brad