file-embed: Use Template Haskell to embed file contents directly.

[ bsd2, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0, 0.0.1, 0.0.2, 0.0.3, 0.0.3.1, 0.0.4, 0.0.4.1, 0.0.4.2, 0.0.4.3, 0.0.4.4, 0.0.4.5, 0.0.4.6, 0.0.4.7, 0.0.4.8, 0.0.4.9, 0.0.5, 0.0.6, 0.0.7, 0.0.7.1, 0.0.8, 0.0.8.1, 0.0.8.2, 0.0.9, 0.0.9.1, 0.0.10, 0.0.10.1, 0.0.11, 0.0.11.1, 0.0.11.2, 0.0.12.0, 0.0.13.0, 0.0.14.0, 0.0.15.0, 0.0.16.0
Change log ChangeLog.md
Dependencies base (>=4.9.1 && <5), bytestring (>=0.9.1.4), directory (>=1.0.0.3), filepath, template-haskell [details]
License BSD-2-Clause
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Data
Home page https://github.com/snoyberg/file-embed
Source repo head: git clone https://github.com/snoyberg/file-embed
Uploaded by MichaelSnoyman at 2024-01-28T06:59:04Z
Distributions Arch:0.0.15.0, Debian:0.0.12.0, Fedora:0.0.15.0, FreeBSD:0.0.9, LTSHaskell:0.0.16.0, NixOS:0.0.16.0, Stackage:0.0.16.0, openSUSE:0.0.16.0
Reverse Dependencies 155 direct, 3827 indirect [details]
Downloads 135351 total (387 in the last 30 days)
Rating 2.5 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-28 [all 1 reports]

Readme for file-embed-0.0.16.0

[back to package description]

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.