file-embed

Use Template Haskell to embed file contents directly.

https://github.com/snoyberg/file-embed

Version on this page:0.0.7
LTS Haskell 17.11:0.0.13.0
Stackage Nightly 2021-05-10:0.0.13.0
Latest on Hackage:0.0.14.0

See all snapshots file-embed appears in

BSD-3-Clause licensed and maintained by Michael Snoyman
This version can be pinned in stack with:file-embed-0.0.7@sha256:4592469797b180279827b779f24a142e5c841dffe02aaf1bf357177f7420bc39,1279

Module documentation for 0.0.7

  • Data
    • Data.FileEmbed

Use Template Haskell to read a file or all the files in a directory, and turn them into (path, text) pairs embedded in your haskell code.