Re: Low-level vs high-level exceptions Wolfgang Corcoran-Mathe 09 Jun 2020 13:03 UTC

On 2020-06-09 08:11 +0200, Marc Nieper-Wißkirchen wrote:
> What about `either-guard' instead?
>
> ... We
> could make `either-guard' into syntax (so that it takes a body instead
> of a thunk). For compiler optimizations, it may even be beneficial. So
> the original example would read:
>
> (either-guard read-error?
>   (read))

This seems like a good name for a very useful form.  I'd be happy
to see it added.

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

"Fools ignore complexity.  Pragmatists suffer it.  Some can avoid it.
Geniuses remove it." --Alan J. Perlis