The shakespeare package

[Tags: library, mit]

Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass.

Shakespeare templates can be used inline with a quasi-quoter or in an external file.

Note there is no dependency on haskell-src-extras. Instead Shakespeare believes logic should stay out of templates and has its own minimal Haskell parser.

Packages that use this: shakespeare-js, shakespeare-css, shakespeare-text, hamlet, and xml-hamlet

Please see the documentation at for more details.


Versions0.10.0, 0.10.1,, 0.10.2, 0.10.3,, 0.11, 1.0.0,,, 1.0.1,,,,, 1.0.2, 1.0.3,, 1.0.4, 1.0.5,, 1.2.0,,,,, 1.2.1,, 2.0.0,,, 2.0.1,,, 2.0.2,,, 2.0.3, 2.0.4,, 2.0.5, 2.0.6, 2.0.7
Dependenciesaeson, base (==4.*), blaze-html, blaze-markup, bytestring, containers, directory (>=1.2), exceptions, ghc-prim, parsec (>=2 && <4), process (>=1.0), scientific, template-haskell (>=2.7), text (>=0.7), time (>=1), transformers, unordered-containers, vector [details]
AuthorMichael Snoyman <>
MaintainerMichael Snoyman <>
CategoryWeb, Yesod
Home page
Source repositoryhead: git clone git://
UploadedSun Oct 18 05:20:29 UTC 2015 by MichaelSnoyman
DistributionsDebian:2.0.5, Fedora:, FreeBSD:2.0.5, LTSHaskell:2.0.7, NixOS:2.0.7, Stackage:2.0.7
Downloads46642 total (260 in last 30 days)
0 []
StatusDocs available [build log]
Last success reported on 2015-10-18 [all 1 reports]




test_coffeerender tests through coffeescript render functionDisabledAutomatic
test_royrender tests through coffeescript render functionDisabledAutomatic

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


Maintainers' corner

For package maintainers and hackage trustees