| Safe Haskell | Safe |
|---|
Eta.Types.Bool
Description
The Bool type and its operations
Documentation
>>>import Prelude (Int, foldl, (*))>>>:{factorial :: Int -> Int factorial n = foldl (*) 1 [1..n] :}
| Safe Haskell | Safe |
|---|
Eta.Types.Bool
Description
The Bool type and its operations
>>>import Prelude (Int, foldl, (*))>>>:{factorial :: Int -> Int factorial n = foldl (*) 1 [1..n] :}