SRFI 43 vs. R7RS-small John Cowan (28 Oct 2015 13:26 UTC)
Re: SRFI 43 vs. R7RS-small Sven Hartrumpf (28 Oct 2015 13:43 UTC)
Re: SRFI 43 vs. R7RS-small John Cowan (28 Oct 2015 14:20 UTC)
Re: SRFI 43 vs. R7RS-small Shiro Kawai (28 Oct 2015 14:57 UTC)
Re: SRFI 43 vs. R7RS-small John Cowan (28 Oct 2015 16:13 UTC)
Re: SRFI 43 vs. R7RS-small Shiro Kawai (29 Oct 2015 01:36 UTC)
Re: SRFI 43 vs. R7RS-small Taylor R Campbell (28 Oct 2015 15:49 UTC)
Re: SRFI 43 vs. R7RS-small John Cowan (28 Oct 2015 16:16 UTC)
Re: SRFI 43 vs. R7RS-small Taylor R Campbell (28 Oct 2015 16:50 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Arthur A. Gleckler (28 Oct 2015 21:25 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Alex Shinn (02 Nov 2015 06:16 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small John Cowan (02 Nov 2015 13:56 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Shiro Kawai (02 Nov 2015 14:17 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Alex Shinn (02 Nov 2015 15:18 UTC)
Re: SRFI 43 vs. R7RS-small Sudarshan S Chawathe (30 Oct 2015 21:10 UTC)
Re: SRFI 43 vs. R7RS-small John Cowan (31 Oct 2015 15:44 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Faré (02 Nov 2015 23:08 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small John Cowan (04 Nov 2015 01:59 UTC)
Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small Faré (04 Nov 2015 05:53 UTC)

Re: [scheme-reports-wg2] SRFI 43 vs. R7RS-small John Cowan 02 Nov 2015 13:56 UTC

Alex Shinn scripsit:

> I don't recall, and it wasn't discussed explicitly, but I'm not sure
> we missed it.

Yes, I intended what we eventually got, but I missed that it was
discrepant with SRFI 43.

> I'm fine with the conflict, unless you want this to be an "official"
> R7RS-large library, e.g. as (scheme vector),

That is indeed what I intend to propose.

> in which case I prefer #5: fork SRFI 43 removing all uses of the
> index, and rename the existing SRFI 43 vector-fold to something like
> vector-tabulate.  Otherwise #4, fork maximally, renaming in favor of
> consistency with SRFI 1 and R7RS.

I think by #4 you mean #3.  #4 means to invent a mechanism whereby
the problematic procedures (the correct list is -fold, -fold-right,
-map, -map!, -for-each, -count) can figure out whether their procedure
arguments "want" an index; it's only hypothetical.  #3 involves two
sets of procedures, the plain ones that don't pass indexes and the
"/index" ones that do.

Your #5 is interesting, and certainly I'll consider it.  Other opinions?

(All that said, the inability, given a Scheme procedure, to determine
*anything* about its calling protocol is a definite weakness/restriction in
Scheme that ought to be removed, though I have no idea how at the moment.
Arity inspection solves part of the problem, but wouldn't be sufficient here.
Having to use a fixed, static protocol when calling an unknown procedure
is what leads to problems like this.)

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
But you, Wormtongue, you have done what you could for your true master.  Some
reward you have earned at least.  Yet Saruman is apt to overlook his bargains.
I should advise you to go quickly and remind him, lest he forget your faithful
service.  --Gandalf