Simpler calling convention? Lassi Kortela (05 May 2020 13:41 UTC)
Re: Simpler calling convention? Marc Nieper-Wißkirchen (05 May 2020 13:52 UTC)
Re: Simpler calling convention? John Cowan (05 May 2020 15:01 UTC)
Re: Simpler calling convention? Marc Nieper-Wißkirchen (05 May 2020 15:13 UTC)
Re: Simpler calling convention? Lassi Kortela (05 May 2020 15:44 UTC)

Re: Simpler calling convention? Marc Nieper-Wißkirchen 05 May 2020 13:51 UTC

Am Di., 5. Mai 2020 um 15:41 Uhr schrieb Lassi Kortela <xxxxxx@lassi.io>:
>
> Parsing optional arguments right-to-left is a bit too fancy to my
> tastes, and `make-normal-generator` is even more complicated. Would it
> be possible to use a simpler convention (ideally, one that always parses
> arguments left-to-right, so an argument at a particular position in the
> arg list always has the same meaning)?

That would also play better with established constructs that deal with
optional arguments like let-optionals or the define/optional I
suggested on the SRFI 189 mailing list. For a CASE-LAMBDA
implementation, it wouldn't matter, though.

Marc