example of runStateC
I'm having trouble to work out how runStateC works, i would like a small example of runStateC. Also in combination with multiple conduit functions that have state.
If i have conduit a .| b .| c .| d .| e where b and d have their own inner state, how can i think get all the values from by conduit back together with both state of b and d after the entire conduit has run? Is it still possible to use sourceToList?
The question is pretty vague, but it sounds like your question is really about fusing with upstream results. See these functions: https://www.stackage.org/haddock/lts-8.17/conduit-1.2.10/Data-Conduit.html#g:4. If you're having trouble getting a usage of runStateC to work, please provide the code you're trying.