Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Prelude hiding (*)
- (*) :: Int -> Int -> Int
- x * 0 = 0
- x * y = x + x*(y-1)
- $ ghci test.hs
- import Prelude hiding (read)
- import Prelude hiding (show)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement