Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- facRecursive :: Int -> Int
- facRecursive n
- | n < 0 = 0
- | n == 0 = 1
- | otherwise = n * facRecursive (n - 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement