Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Dylan > Re: GD/OD incom...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 211 of 287
Post > Topic >>

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
 




 9 Posts in Topic:
GD/OD incompatibility of copy-sequence for the value #f
"Peter Robisch"  2006-12-05 14:58:33 
Re: GD/OD incompatibility of copy-sequence for the value #f
"cgay" <carl  2006-12-12 10:00:59 
Re: GD/OD incompatibility of copy-sequence for the value #f
"tc" <matthi  2006-12-13 06:43:26 
Re: GD/OD incompatibility of copy-sequence for the value #f
"Chris Page" &l  2006-12-14 18:44:39 
Re: GD/OD incompatibility of copy-sequence for the value #f
peter.robisch@[EMAIL PROT  2007-01-26 01:12:16 
Re: GD/OD incompatibility of copy-sequence for the value #f
peter.robisch@[EMAIL PROT  2007-01-28 12:37:18 
Re: GD/OD incompatibility of copy-sequence for the value #f
Dustin Voss <d-j-v@[EM  2007-03-04 01:47:58 
Re: GD/OD incompatibility of copy-sequence for the value #f
Dustin Voss <d-j-v@[EM  2007-03-04 11:04:03 
Re: GD/OD incompatibility of copy-sequence for the value #f
Hugh Greene <husenet2.  2007-03-06 08:55:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 13:53:42 CDT 2008.