file-embed

Use Template Haskell to embed file contents directly.

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

Version on this page:0.0.10
LTS Haskell 18.0:0.0.14.0
Stackage Nightly 2021-06-20:0.0.14.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.10@sha256:9ad66a8a5b2c4d7b02592975332501e1e4fa7100ea4268f3c0be437e7c52f098,1325

Module documentation for 0.0.10

file-embed

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

Changes

0.0.10

  • makeRelativeToProject

0.0.9

  • embedStringFile #14

0.0.8.2

  • Improve inject documentation #11

0.0.8.1

Minor cleanup

0.0.8

  • Custom postfix for magic string #7

0.0.7.1

Minor cleanup