Sorry, maybe I should have made it clear that I meant to use `parsed` 
(`parseRepeatedly`?) in place of `parseForever_` 
The, if I have 

     test :: [Tag T.Text]
     test = [TagOpen "open" [], TagText "text", TagClose "close"]

I see

    >>> runEffect $  each test  >-> PP.parseForever_ textCombiner >-> 
P.print
    3
    TagOpen "open" []
    3
    TagText "text"

    >>> rest <- runEffect $ parsed textCombiner (each test)  >-> P.print
    3
    TagOpen "open" []
    3
    TagText "text"
    3
    TagClose "close"
    4

    >>> runEffect $ rest >-> P.print

    >>> 

-- 
You received this message because you are subscribed to the Google Groups 
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to haskell-pipes+unsubscr...@googlegroups.com.
To post to this group, send email to haskell-pipes@googlegroups.com.

Reply via email to