Factorial

Run Settings
LanguageHaskell
Language Version
Run Command
factorial :: Integer -> Integer factorial n | n == 0 = 1 | otherwise = factorial (n - 1) * n main = do print (factorial 5)
Editor Settings
Theme
Key bindings
Full width
Lines