The template-hsml package

[ Tags: bsd3, library, template, templating, web ] [ Propose Tags ]

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.

Properties

Versions 0.1.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3
Dependencies base (==4.5.*), blaze-markup (==0.5.*), haskell-src-exts (==1.13.*), haskell-src-meta (==0.5.*), parsec (==3.1.*), template-haskell (==2.7.*) [details]
License BSD3
Copyright Petr Pilař 2012
Author Petr Pilař
Maintainer maintainer+the.palmik@gmail.com
Category Web, Template, Templating
Source repository head: git clone git://github.com/Palmik/HSML.git
Uploaded Thu Aug 30 13:36:50 UTC 2012 by PetrPilar
Distributions NixOS:0.2.0.3
Downloads 858 total (4 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
testing

Are we building for testing?

DisabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees