Use Template Haskell to embed (LZMA compressed) data.

Version on this page:0@rev:2
LTS Haskell 22.30:0.0.1@rev:2
Stackage Nightly 2024-07-22:0.1
Latest on Hackage:0.1

See all snapshots file-embed-lzma appears in

BSD-3-Clause licensed by Oleg Grenrus
Maintained by Oleg.Grenrus
This version can be pinned in stack with:file-embed-lzma-0@sha256:040cf3f158aba0b9e96efd974ec30514222ebee1782f1182a3690aa95f32af36,2090

Module documentation for 0

The 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 embedRecursiveDir function.


Revision history for file-embed-lzma


  • First version. Released on an unsuspecting world.