fork download
  1. aplicar x a b = x a b
  2.  
  3. main = do
  4. print(aplicar (\x y -> x + y) 10 15)
  5. print(aplicar (\x y -> x - y) 10 15)
Success #stdin #stdout 0s 4696KB
stdin
Standard input is empty
stdout
25
-5