Suggested change to the sample implementation, & other comments Göran Weinholt (21 Oct 2022 18:08 UTC)
(missing)
Fwd: Suggested change to the sample implementation, & other comments Marc Nieper-Wißkirchen (23 Oct 2022 11:34 UTC)
Re: Suggested change to the sample implementation, & other comments Marc Nieper-Wißkirchen (23 Oct 2022 11:36 UTC)
Re: Suggested change to the sample implementation, & other comments Marc Nieper-Wißkirchen (22 Oct 2022 08:17 UTC)
Re: Suggested change to the sample implementation, & other comments Marc Nieper-Wißkirchen (22 Oct 2022 14:17 UTC)

Re: Suggested change to the sample implementation, & other comments Marc Nieper-Wißkirchen 22 Oct 2022 14:17 UTC

Am Fr., 21. Okt. 2022 um 20:09 Uhr schrieb Göran Weinholt <xxxxxx@weinholt.se>:

> This code allocates closures and is less efficient than just using
> begin. The sample implementation also has an unreachable syntax-case
> clause.

I was too quick to affirm that the last syntax-case clause is unreachable.

If "perform" is invoked in the identifier form

perform

or in a form like

(perform . bla)

the last clause is actually triggered.  It's not vital, though,
because syntax-case must raise a syntax violation if no clause
matches.  But not any compiler may produce a syntax violation with a
helpful message.

-- Marc