Advertisement
karlicoss

Addition or subtraction O_O

May 21st, 2011
521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Prelude hiding ((+))
  2. (+)::Int->Int->Int
  3. a + b = a - b
  4.  
  5. main :: IO()
  6. main = do
  7.     let a = 3
  8.     let b = 4
  9.     let l = a + b
  10.     putStrLn(show l)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement