In haskell Conduit, how do I zip a Source that yields lists with one that doesn't -
i'm using sourcefile yields bytestring , source yields word8. word8 source infinite.
i need way convert word8 source [word8] source lists same length bytestring first source.
i'm not sure context doing this, more straight-forward way convert bytestring source word8 source, , zip 2 word8 sources together. if needed original bytestrings, include marker indicate end-of-chunk.
a more complicated approach use connect-and-resume , manually deal popping values out of sources.
Comments
Post a Comment