On Sun, 1 Feb 2015, David Feuer wrote: > What is a Stream in this context? I meant this one: https://hackage.haskell.org/package/Stream It's not necessary in this context, you can just replace it by a function that increments a counter.