-
Quick tip: Postfix operators in GHCi
The other day I wanted to work out what 52 factorial was. I’d beeen to a pub quiz the night before. What can I say? It is pretty easy to make the factorial function in Haskell. Something ike this usually suffices. fac :: Integer -> Integerfac n = product [1..n] I wanted to be …
- On: