On Thu, Jun 30, 2011 at 09:53, John Ky <newho...@gmail.com> wrote: > enum |$ inumReverseLines .| iter > inumReverseLines = mkInum $ do > line <- lineI > return (L.reverse (L.concat [line, C.pack "\n"])) > > No attempt was made to reverse more than one line - at least as far as I can > see. What have I done wrong that it should work so well?
An iterator that doesn't iterate isn't very useful. -- brandon s allbery allber...@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe