import Prelude loop n = n : loop (n+1) main = print $ take 2 $ drop 2 $ loop 1
Standard input is empty
[3,4]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!