Use Template Haskell to embed (LZMA compressed) data. https://github.com/phadej/file-embed-lzma
|Version on this page:||[email protected]:2|
|LTS Haskell 15.14:||[email protected]:5|
|Stackage Nightly 2020-05-26:||[email protected]:5|
|Latest on Hackage:||[email protected]:5|
file-embed package let's embed file and dir contents.
This package is similar, but also compresses the embedded contents with LZMA. That makes resulting object files smaller, at the cost of start up decompression.
There's also an
Revision history for file-embed-lzma
- First version. Released on an unsuspecting world.