Re:The Haskell / Snap ecosystem is as productive (or more) t...
by zopa on Saturday April 28, 2012 @09:27AM
(#3902887)
assuming that the length of a list will never be bigger than 232
Should be 2^32, of course. Though I think the real upper bound is (2^31)-1: there's a bit used for negative numbers, and there's zero.
Haskell interprets numeric literals as the typeclass (Num a => a), meaning any member of the typeclass Num can be constructed using these literals. Int is one such type, and causes wraparound when it constructs an instance using the typeclass.