I definitely agree with you. 

It seems to me that both, numbers that are too big and 
negative numbers should give an error. Both functions should be
undefined in both cases.

Roberto.

-----Original Message-----
From: Chris Okasaki [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 25, 2000 11:51
To: [EMAIL PROTECTED]
Subject: Re: drop & take [was: fixing typos in Haskell-98]


> I'm with the option (B): negatives are just outside 
> the domain of take&drop, and should give you an error 
> message.

For the people that share this sentiment, can you please
explain why ints that are too big should not similarly
give an error?  I can see both being ok, or both being
errors.  I just don't see why one should be ok and the
other an error.

Chris

Reply via email to