Bravo: Static text template generation library

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

Bravo is a text template library that provides parsing and generation of templates at compile time. Templates can be read from strings or files and for each a new record data type is created, allowing convenient access to all template variables in a type-safe manner. Since all templates are processed at compile time, no extra file access or error handling at runtime is necessary.

Additional features include the definition of multiple templates per file, conditional template evaluation, embedding of Haskell expressions and customized data type generation.

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
base4

base >= 4.0

Enabled
newth

This fixes incompatibilities between different template-haskell and haskell-src-meta versions.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.0.1
Dependencies base (>=3.0.3 && <5), haskell-src-exts (>=1.2 && <2), haskell-src-meta (>=0.0.6 && <0.2), mtl (>=1.1.0.2 && <1.2), parsec (>=2.1.0.1 && <3.0), syb (>=0.1.0.1 && <0.2), template-haskell (>=2.3.0.1 && <2.5) [details]
Tested with ghc ==6.10.4, ghc ==6.12.1
License BSD-3-Clause
Copyright (C) 2010, Matthias Reisner
Author Matthias Reisner
Maintainer Matthias Reisner <matthias.reisner@googlemail.com>
Category Text
Home page http://www.haskell.org/haskellwiki/Bravo
Uploaded by MatthiasReisner at 2010-03-24T01:43:29Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2238 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]