
23 Jun
2010
23 Jun
'10
2:51 p.m.
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. Cheers, -- Felipe.