Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : mustache2hs

This utility takes in Haskell records (single data constructor only) and a list of mustache template and record name pairs, and generates Haskell code for functions that take an escape function and one of the records, and returns a Data.Text.Lazy.Builder.Builder. This allows most records to be used as context for rendering a template, and gives GHC the ability to typecheck the template's use of record fields at compile time. It also means your application does not need to be reading template files off disk in production. Usage example: A full example is in the git repository.

Registry - Source - Homepage - JSON
purl: pkg:hackage/mustache2hs
Keywords: program, utility
License: Other
Latest release: almost 11 years ago
First release: almost 12 years ago
Downloads: 4,824 total
Stars: 7 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/singpolyma
Last synced: 24 days ago

    Loading...
    Readme
    Loading...