[ create a new paste ] login | about

Link: http://codepad.org/M2v6pZbi    [ raw code | output | fork ]

johannes - Haskell, pasted on Dec 8:
1
2
3
4
5
6
7
module Main where

x = 0 : y
  where y = 1 : x

main :: IO ()
main = print $ take 42 x


Output:
1
[0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1]


Create a new paste based on this one


Comments: