26 Apr
2004
26 Apr
'04
8:09 p.m.
"Serge D. Mechveliani" <mechvel@botik.ru> 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