fork(1) download
  1. xs :: [Int]
  2. xs = []
  3.  
  4. main = let f g = (g xs, g 'a') in print $ f id
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:4:27:
    Couldn't match expected type `[Int]' with actual type `Char'
    In the first argument of `g', namely 'a'
    In the expression: g 'a'
    In the expression: (g xs, g 'a')
stdout
Standard output is empty