Re: GD/OD incompatibility of copy-sequence for the value #f
by "cgay" <carlgay@[EMAIL PROTECTED]
>
Dec 12, 2006 at 10:00 AM
Peter Robisch wrote:
> Why should the value #f be handle other than the value $unsupplied?
> Why should not both be turn into the default value of sequence.size ?
The difference is that you don't pass $unsupplied to copy-sequence,
it's just a default value. Any value the user actually p***** as the
"end" parameter to copy-sequence must be an <integer>. Why should #f
be special? As we talked about in IRC, you can always use
copy-sequence(myseq, end: foo | myseq.size)
to avoid the need to pass #f, so I don't think there's a strong
argument to be made for treating #f specially on the basis of
convenience.
-Carl