Deprecated

file-embed-poly

Use Template Haskell to embed file contents directly. https://github.com/sasinestro/file-embed

Latest on Hackage:0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

Maintained by Alexis Williams

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.1.0

  • Injection has been moved to a submodule, "Data.FileEmbed.Inject".
  • The ByteString-centric API has been shifted over to one that can produce any member of the IsString typeclass.
    • Correspondingly, the embedString* API has been removed, as it is now redundant.
  • Several generally-unused internal functions are no longer exported.

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

Used by 1 package:
comments powered byDisqus