Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. facRecursive :: Int -> Int
  2. facRecursive n
  3. | n < 0 = 0
  4. | n == 0 = 1
  5. | otherwise = n * facRecursive (n - 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement