SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (^) :: Int -> Int -> Int
  2. 0 ^ _ = 0
  3. _ ^ 0 = 1
  4. n ^ m = n * (n ^ (m - 1))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top