i\'m trying to implement the "take(stream, n)" function for a stream, using a fold function. (foldright)
So, I need something that that can return a stream