file-embed icon indicating copy to clipboard operation
file-embed copied to clipboard

Use Template Haskell to embed file contents directly.

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.