[r6rs-discuss] Comparison procedures' number of arguments
David Van Horn
dvanhorn at cs.brandeis.edu
Fri Oct 24 13:36:43 EDT 2008
Ken Dickey wrote:
> When I look at srfi-32 code [sorting, retracted], SCIP, Scheme and the Art of
> Programming, Concrete Abstractions, ..., grep for used of (< n) in code
> [legal in Chez, Gambit, Ikarus -- which disallow (<)] I have not yet found a
> use of the form (< n).
Just because there are no syntactic occurrences doesn't mean < is not
applied to zero or one arguments. I bet similarly you cannot find any
occurrences of (+) or (+ n).
David
PS FWIW, as a result of the discussion I think there are two consistent
positions: < takes exactly two arguments, or < takes zero or more
arguments. My preference is for the latter.
More information about the r6rs-discuss
mailing list