[Haskell-cafe] (Num t) => [t] or [Int]

PR Stanley prstanley at ntlworld.com
Fri May 9 17:07:48 EDT 2008


Hi
I thought [1, 2, 3] :: [Int]
GHC says it's (Num t) > [t]
Okay, when it comes to 3.3:[1,2,3] (Num t) => [t] makes more sense. 
Is that the only reason?
Cheers,
Paul



More information about the Haskell-Cafe mailing list