The heist package

[Tags:benchmark, bsd3, library, test]

[Skip to Readme]


Versions 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4,,,,,,,, 0.5.2,, 0.5.3, 0.6.0,, 0.6.1, 0.7.0,, 0.8.0, 0.8.1,, 0.8.2, 0.10.0, 0.10.1, 0.10.2,, 0.11.0,, 0.11.1, 0.12.0, 0.13.0,,,,,,, 0.13.1,,, 0.14.0,, 0.14.1,,,,,,
Dependencies attoparsec (>=0.8.1 && <0.9), base (==4.*), bytestring, containers, directory, directory-tree, filepath, hexpat (==0.19.*), MonadCatchIO-transformers (>=0.2.1 && <0.3), monads-fd, process, random, transformers [details]
License BSD3
Author Doug Beardsley, Gregory Collins
Category Web
Home page
Source repository head: git clone
Uploaded Tue Oct 26 22:35:18 UTC 2010 by DougBeardsley
Distributions Debian:, FreeBSD:, NixOS:
Downloads 24962 total (334 in the last 30 days)
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for heist

Readme for heist-0.2.4


Heist, part of the Snap Framework, is a Haskell library for xhtml templating. It uses simple XML tags to bind values to your templates in a straightforward way. For example, if you were to put the following in a template:

<bind tag="message">some text</bind>

the resulting xhtml would be

<p>some text</p>

Likewise, if you need to add text to an attribute,

<bind tag="special">special-id</bind>
<div id="$(special)">very special</div>

gives you

<div id="special-id">very special</div>

Values can also be pulled from "Splices" (see the documentation for more information.)

Building heist

The heist library is built using Cabal and Hackage. Just run

cabal install

from the heist toplevel directory.

Building the Haddock Documentation

The haddock documentation can be built using the supplied shell script:


The docs get put in dist/doc/html/.

Building the testsuite

To build the test suite, cd into the test/ directory and run

$ cabal configure
$ cabal build

From here you can invoke the testsuite by running:

$ ./ 

The testsuite generates an hpc test coverage report in test/dist/hpc.