Additional procedures and extensions John Cowan (02 Apr 2021 04:09 UTC)
Re: Additional procedures and extensions Shiro Kawai (02 Apr 2021 06:37 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (02 Apr 2021 07:41 UTC)
Re: Additional procedures and extensions Wolfgang Corcoran-Mathe (02 Apr 2021 15:11 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (02 Apr 2021 15:39 UTC)
Re: Additional procedures and extensions Wolfgang Corcoran-Mathe (02 Apr 2021 17:58 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (02 Apr 2021 19:22 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (02 Apr 2021 20:43 UTC)
Re: Additional procedures and extensions John Cowan (03 Apr 2021 02:55 UTC)
Re: Additional procedures and extensions Wolfgang Corcoran-Mathe (03 Apr 2021 14:52 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (03 Apr 2021 15:11 UTC)
Re: Additional procedures and extensions Shiro Kawai (03 Apr 2021 18:50 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (04 Apr 2021 09:26 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (04 Apr 2021 11:04 UTC)
Re: Additional procedures and extensions Marc Nieper-Wißkirchen (04 Apr 2021 21:09 UTC)

Re: Additional procedures and extensions Wolfgang Corcoran-Mathe 03 Apr 2021 14:52 UTC

On 2021-04-02 21:22 +0200, Marc Nieper-Wißkirchen wrote:
> Even if the extra allocation is insignificant, its existence shows that
> using Maybes is not the most direct approach but uses one unnecessary
> indirection.
>
> Another reason that may be compelling is the very existence of multiple
> values in Schemes. Maybes instead of continuations is like returning lists
> or vectors instead of multiple values.

OK, that makes sense to me.  Generating (unreified) multiple values
is indeed useful, and the Maybe protocol I suggested is really just
a minor variation on generating vectors.

Thanks for explaining.

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

"It is a syntax error to write FORTRAN while not wearing
a blue tie." --James Iry