git.iko.soy/typeable/file-embed
on master help sign in

Use Template Haskell to embed file contents directly.

git clone ssh://git.iko.soy/typeable/file-embed

file-embed

Tests

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.