fork(2) download
  1. suma a b = a + b
  2. resta a b = a - b
  3. aplicar x a b = x a b
  4.  
  5. main = do
  6. print(aplicar suma 10 15)
  7. print(aplicar resta 10 15)
Success #stdin #stdout 0s 4700KB
stdin
Standard input is empty
stdout
25
-5