Thanks, Arthur and Wolfgang.

Minor issue: The "stop" continuation of fxmapping-accumulate, now called "halt", still doesn't take any values. I think we have agreed that it has to be able to take additional values so that some state derived from the final seeds can also be communicated to the outer continuation.

Am Do., 17. Juni 2021 um 06:10 Uhr schrieb Arthur A. Gleckler <xxxxxx@speechcode.com>:

I've just published draft #10 of SRFI 224. It was submitted by Wolfgang Corcoran-Mathe, author of the SRFI.

Since we've extended the last-call period so many times, I'm not going to set a date this time.  Still, please send feedback as soon as you can.

Here are Wolfgang's comments on the draft:

This draft respecifies all of the forms which used Maybe as continuation-passing procedures. This removes the SRFI's dependency on SRFI 189, and likely decreases its overall level of idiosyncracy.

fxmapping-map-either has been removed. More thought is needed on this procedure, which seemed half-baked and arbitrarily limited to accumulating results into two fxmappings.

Here is the commit summary:

  • Implementation: Make CPS -ref procedure primitive.
  • Tune fxmapping-contains? internal function slightly.
  • Tune fxmapping-ref/default.
  • Update implementation README.
  • Fix typo.
  • Unfolds can take multiple seeds.
  • Remove lookup and query functions.
  • Replace unfold-maybe with accumulate.
  • Respecify pop-min/-max without Maybe.
  • Fix typos reported by the W3C validator.
  • Implementation: fxmapping-accumulate.
  • Reimplement pop-min/-max.
  • Minor style fix.
  • Respecify -update forms.
  • Respecify fxmapping-alter.
  • Remove SRFI 189 and Maybe/Either references.
  • fxmapping-map-either becomes fxmapping-partition-map.
  • fxmapping-unfold: No varying numbers of seeds.
  • Remove fxmapping-partition-map.
  • fxmapping-update, etc.: Switch order of replace/delete arguments.
  • Update implementation to current spec, with a few TODOs.
  • Update tests.
  • Implement correct semantics for update and alter.
  • Grammar fix.
  • Note fixnum range and portability expectations.
  • Tests for update/alter returning additional values.
  • Update implementation README.
  • Publish tenth draft.

Here's the diff:

https://github.com/scheme-requests-for-implementation/srfi-224/compare/draft-9..draft-10

Regards,


SRFI Editor