fork download
  1. naturales :: [Int]
  2. naturales = [1..]
  3.  
  4. main :: IO ()
  5. main = print (take 10 naturales)
Success #stdin #stdout 0.01s 5320KB
stdin
Standard input is empty
stdout
[1,2,3,4,5,6,7,8,9,10]