fork(5) download
  1. import Data.Bits
  2. l=[1,2,1,2,3]::[Int]
  3. main = print $ foldl xor 0 l
Success #stdin #stdout 0s 6260KB
stdin
1
2
10
42
11
stdout
3