Questions tagged [zip-conduit]

A conduit-based Haskell library for working with ZIP archives.

zip-conduit is a conduit-based Haskell library for working with ZIP archives.

3 questions
4
votes
1 answer

Extracting single file from zip archive using Haskell

Using the zip-conduit library, I want to extract a single file (e.g. bar/foo.txt) from the ZIP archive. The example on hackage only shows how to extract all files at once. How can I extract only a single file or a list of files? Note: This question…
Uli Köhler
  • 13,012
  • 16
  • 70
  • 120
3
votes
1 answer

Listing zip archives using zip-conduit

Using the zip-conduit library, I want to list entries in a ZIP archive. I want to print them only filename per line - similar to unzip -l, but without any additional information. Note: This question was answered using Q&A-style and therefore…
Uli Köhler
  • 13,012
  • 16
  • 70
  • 120
1
vote
0 answers

Serialize Sources with conduit

I'm looking for a function that could have this signature : serializeSources :: Monad m => [Source m a] -> Source m a Having x sources with the same value produced that are serialized into 1 stream...First produced first received by downstream…
Nicolas Henin
  • 3,244
  • 2
  • 21
  • 42