Gabriel439/Haskell-Pipes-Parse-Library — pull request #23 by Davorak (2013-10-27 22:02:20+00:00)
Title: Fixed splitOn from hanging if you take more then one with takeFree

SplitOn hangs with anything that takes more then 1 from FreeT. ex:

> runEffect $ (Pipes.Parse.concat . splitOn (==' ') $ (each "hi you now")) >-> P.print
'h'
'i'
^CInterrupted.

It now closely follows splitOn from the split package.

split package:
> concat $ splitOn " " "hi you now"
"hiyounow"

> runEffect $ (Pipes.Parse.concat . splitOn'' (==' ') $ (each "hi you now")) >-> P.print
'h'
'i'
'y'
'o'
'u'
'n'
'o'
'w'