I know this sounds like a stupid question, but here it is: Is there a built-in factorial in Haskell?
Google gives me tutorials about Haskell explaining how I can implement it myself, and I could not find anything on Hoogle. I don't want to rewrite it each time I need it.
I can use product [1..n] as a replacement, but is there a true Int -> Int factorial built-in function?