Next | Atypical Types | 50 |
fact :: (Num a) => a -> a
Ask the compiler to tell you the type of some function
Is it what you expect?
Yes? Okay then!
If not, your program almost certainly has a bug.
continued...
Next | Copyright © 1999,2008 Mark Dominus |