fork download
  1. import Data.List
  2. force = foldl' go ()
  3. where go a b = a `seq` b `seq` ()
  4. main = let a = [1, 2, 4, undefined] in force a `seq` print 1
Runtime error #stdin #stdout 0.02s 3588KB
stdin
Standard input is empty
stdout
Standard output is empty