Re: What should happen when `else` is the pattern of a clause? Marc Nieper-Wißkirchen (16 Dec 2022 19:00 UTC)
Re: What should happen when `else` is the pattern of a clause? Amirouche (26 Dec 2022 11:56 UTC)

Re: What should happen when `else` is the pattern of a clause? Amirouche 26 Dec 2022 11:56 UTC

> There is no special `else' pattern. In an expression like
>
> (match <expr>
>
> [else <body>])
>
>
> the matcher tries to match <expr> against the symbol "else".
>
>
> But you have exhibited an error in the sample implementation
> (originating in an earlier, unpublished version of the matcher); it
> should not return <void> on a non-match, but raise an exception.
>
>
> Fixing now.
>

Thanks.

By the way, with Chez (assert (void)) will not error.