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