[gambit-list] Tangerine Edition penultimate report: how I voted, how you're voting
cowan at ccil.org
Thu Jan 17 22:34:52 EST 2019
On Thu, Jan 17, 2019 at 8:15 PM Per Bothner <per at bothner.com> wrote:
For the record, I'm extremely leery of the more-is-better approach.
> We seem to be adding a large number of very large APIs, which seems
> to be contrary to the Scheme ideal of small well-chosen primitives
> that work synergistic well together.
I don't believe that that idea ever applied to the Scheme library, otherwise
the list primitives would have been pair?, car, cdr, cons, null?, set-car!,
set-cdr!, and possibly not even the last two.
Allow me to quote the first paragraph of Olin Shivers's rationale for SRFI
a "very large API" of 149 procedures, especially when compared to the
7 minimal procedures above and the 50 R6RS procedures, yet SRFI 1 is
very popular and 24 of the 32 Schemes for which I have SRFI data
The set of basic list and pair operations provided by R4RS/R5RS Scheme is
> far from satisfactory. Because this set is so small and basic, most
> implementations provide additional utilities, such as a list-filtering
> function, or a "left fold" operator, and so forth. But, of course, this
> introduces incompatibilities -- different Scheme implementations provide
> different sets of procedures.
The SRFI 43 rationale (by Taylor Campbell) begins similarly:
R5RS provides very few list-processing procedures, for which reason SRFI 1
> (list-lib) exists. However, R5RS provides even fewer vector operations —
> while it provides mapping, appending, et cetera operations for lists, it
> specifies only nine vector manipulation operations —: [list omitted] .
> Many Scheme implementations provide several vector operations beyond the
> miniscule set that R5RS defines (the typical vector-append, vector-map, et
> cetera), but often these procedures have different names, take arguments in
> different orders, don't take the same number of arguments, or have some
> other flaw that makes them unportable. For this reason, this SRFI is
Finally, here's Olin again in SRFI 33, bitwise operations:
If you believe in "small is beautiful," then what is your motivation
for including anything beyond BITWISE-NAND?
John Cowan http://vrici.lojban.org/~cowan cowan at ccil.org
You are a child of the universe no less than the trees and all other acyclic
graphs; you have a right to be here. --DeXiderata by Sean McGrath
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list