Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import Prelude hiding (*)
  2.  
  3. (*) :: Int -> Int -> Int
  4. x * 0 = 0
  5. x * y = x + x*(y-1)
  6.  
  7. $ ghci test.hs
  8.  
  9. import Prelude hiding (read)
  10.  
  11. import Prelude hiding (show)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement