Hi.

For H98, I prefer option (A).  Option (B) gives an arbitrary
dissimilarity with rangeSize and enumFromTo.  They currently match the
standard mathematical treatment of ranges such as i..j, which Chris
Okasaki mentioned.  I'm not saying that they're sacred, just that a
shift to the style of option (B) is too far-reaching for H98.

For any version of Haskell, I prefer that take n x and drop n x (when
length x < n) should not immediately raise errors, in general.  That
would be too strict.  It's arguable whether errors should be raised in
the special case that x == [].  How similar should drop 1 be to tail?

Regards,
Tom

Reply via email to