template-hsml: Haskell's Simple Markup Language
HSML syntax is very similar to that of XML, but there are less rules. The main advantage over plain XML or HTML is that it allows you to embed Haskell declarations and expression directly into your template. The main advantage over something like Blaze is that it saves you the overhead of using Blaze's combinators. It's also relatively easy to port your existing plain HTML templates into HSML (most of the times, cut & paste will suffice). For examples, see the examples directory.
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
testing | Are we building for testing? | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- template-hsml-0.2.0.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3 |
---|---|
Dependencies | base (>=4.5 && <4.6), blaze-markup (>=0.5 && <0.6), haskell-src-exts (>=1.13 && <1.14), haskell-src-meta (>=0.5 && <0.6), parsec (>=3.1 && <3.2), template-haskell (>=2.7 && <2.8) [details] |
License | BSD-3-Clause |
Copyright | Petr Pilař 2012 |
Author | Petr Pilař |
Maintainer | maintainer+the.palmik@gmail.com |
Category | Web, Template, Templating |
Source repo | head: git clone git://github.com/Palmik/HSML.git |
Uploaded | by PetrPilar at 2012-08-30T13:36:50Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2983 total (1 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] |