Re: either-guard reference implementation Wolfgang Corcoran-Mathe 16 Jul 2020 17:24 UTC

On 2020-07-16 11:11 -0400, John Cowan wrote:
> No trouble there  A <body> is what goes inside a `let`, zero or more
> definitions followed by one or more expressions. The implementation should
> be changed to wrap the body in a `(let () body)`.

I'm a little confused.  Whether the macro wraps <body> in a lambda (as
it is in the current implementation) or in a let, <body> must contain at
least one expression.  If this is what is expected, I think the SRFI
should indicate that "<body> is a sequence of zero or more definitions
followed by one or more expressions".

If not, what value do we expect from (either-guard foo?) ?  Left of
an unspecified value?

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

"We have lost exactly what we wanted to lose." --Fong & Spivak