[ create a new paste ] login | about

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

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

n = 5 : n

main = print (take 3 n)


Output:
1
[5,5,5]


Create a new paste based on this one


Comments: