问题标签 [bzlib-conduit]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
haskell - Haskell bzlib-conduit/zlib-conduit example
Let's assume we create the file a.txt.gz
as follows:
I intend to use zlib-conduit
in order to emulate zcat
in Haskell.
I'm looking for a simple example that can also be applied to bzlib-conduit
.
Note: This question was answered immediately in a Q&A-Style. Therefore it intentionally does not show any research effort.