Hi All,can some one explain to me whyghci> let f:: (Ord a, Num b) => a -> b -> a ; f=undefinedghci> :t f 1 2ghci> f 1 2 :: (Num a, Ord a) => aThe initial type signature just required a to be a type that is an instance of Ord but after it had the additional constraint of Ord as well???--Best Regards,Boon Hui
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners