
11 Jul
2007
11 Jul
'07
7:26 p.m.
On Jul 11, 2007, at 19:11 , Thomas Conway wrote:
Is there a compelling reason (hysterical raisins is not a compelling reason) why Data.*.{length,size,take,drop,etc} use Int and not Num n => .... or similar?
Efficiency, but many of them have generic equivalents (e.g. genericLength, genericDrop, etc.) at least in Data.List. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH