Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (20 Jun 2021 21:58 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (21 Jun 2021 00:55 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (21 Jun 2021 05:17 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (21 Jun 2021 16:11 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (21 Jun 2021 17:52 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (21 Jun 2021 18:37 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (21 Jun 2021 19:22 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (21 Jun 2021 19:35 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (21 Jun 2021 20:13 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (21 Jun 2021 20:32 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (21 Jun 2021 20:52 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (22 Jun 2021 01:26 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (22 Jun 2021 01:44 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (22 Jun 2021 05:41 UTC)
Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe (22 Jun 2021 17:10 UTC)
Re: Failure continuations for fxmapping-update and friends Marc Nieper-Wißkirchen (24 Jun 2021 14:17 UTC)

Re: Failure continuations for fxmapping-update and friends Wolfgang Corcoran-Mathe 21 Jun 2021 16:11 UTC

On 2021-06-21 07:16 +0200, Marc Nieper-Wißkirchen wrote:
> (2) 'fxmapping-alter' is quite a bit more complicated than
> 'fxmapping-update', so if it is easy to add optional failure and success
> continuation to 'fxmapping-update', I'd rather do this then telling people
> to use 'fxmapping-alter' as a substitute.

This makes sense to me.  The current default behavior of `update'
(return the input fxmapping unchanged) comes from the Haskell library
and isn't flexible.

> (3) Should you drop the failure continuations for 'fxmapping-pop-min' and
> 'fxmapping-pop-max' make sure for internal consistency with the rest of
> R7RS that "it is an error" to call it on an empty fxmapping, not that "an
> error is signaled". For R6RS, it would be different.

Good catch!  Thanks.

--
Wolfgang Corcoran-Mathe  <xxxxxx@sigwinch.xyz>

"All this currying's just a phase, though it seldom hinders."
--Fritz Ruehr