fork download
  1. main = print . take 10 $ fldr (:) [] [1..]
  2.  
  3. fldr (+) ac = ($ac) . foldl (\f x -> f . (\ac -> x + ac)) id
Runtime error #stdin #stdout #stderr 3.94s 553984KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
prog: out of memory (requested 1048576 bytes)