Join two consumers into a single consumer that returns multiple values?
I have been experimenting with the new pipes-http package and I had a thought. I have two parsers for a web page, one that returns line items and another a number from elsewhere in the page. When I grab the page, it'd be nice to string these parsers together and get their results at the same time from the same bytestring producer, rather than fetching the page twice or fetching all the html into memory and parsing it twice. In other words, say you have two Consumers: c1 :: Consumer a m r1 c2 :: Consumer a m r2 Is it possible to make a function like this: combineConsumers :: Consumer a m r1 ->