[Haskell-cafe] Strange results when trying to create large Bool arrays.

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Jul 11 19:26:39 EDT 2007

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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list