fork(1) download
  1. add x y = x + y
  2.  
  3. main = do
  4. print $ add 1 2
  5. print $ add 1.0 2
Success #stdin #stdout 0s 8388607KB
stdin
Standard input is empty
stdout
3
3.0