Let's say I want to stream from one file to another file but I want to skip the first n lines of the input file. How do I do this without first collapsing the whole first file using 'fold' ?
import Turtle
main = output "/tmp/b.txt" (f (input "/tmp/a.txt"))
What should 'f' be here to accomplish this ?
ps: I don't have enough reputation to create the 'haskell-turtle' tag.