by schtog · 17y ago · 0 comments
Basically you get the best of both worlds, static typing, ie types checked at compile-time but you don't have to write out all the types(you can however if you want to).
add x y = x + y
Prelude> :t add
add :: (Num a) => a -> a -> aNo comments yet.