"Serge D. Mechveliani" <[EMAIL PROTECTED]> writes: > Alexander is right. > > Also as Integer has more sense than Int, > I would suggest for the future standard Haskell library to have > Integer as default. For example: > length :: [a] -> Integer > smallLength :: [a] -> Int
Hmm...isn't it possible to use a class here? Perhaps even Num? class Num a where .... : length :: [b] -> a : -kzm -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell