[Haskell-beginners] Integer by default.

Felipe Lessa felipe.lessa at gmail.com
Wed Jun 23 10:51:12 EDT 2010

On Wed, Jun 23, 2010 at 09:38:24PM +0800, Lyndon Maydwell wrote:
> Is there a way to get the prelude functions to use Integer by default
> rather than Int?

In general, I think it is cleaner to use explicit type signatures
instead of defaulting.  Running GHC with -Wall will warn you
whenever you default to something.



More information about the Beginners mailing list