Use Template Haskell to embed (LZMA compressed) data.

Version on this page:0@rev:4
LTS Haskell 15.6:0@rev:5
Stackage Nightly 2020-03-30:0@rev:5
Latest on Hackage:0@rev:5

See all snapshots file-embed-lzma appears in

BSD-3-Clause licensed by Oleg Grenrus
Maintained by Oleg.Grenrus

Module documentation for 0

This version can be pinned in stack with:file-embed-lzma-0@sha256:9d92c31b4123eeef3311cc42e8766c45b6cca9516d350aa3d3585fea7f29e3a7,2065

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.