The shakespeare package

[Tags:library, mit, test]

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.


Versions 0.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, 2.0.8,,, 2.0.9, 2.0.10, 2.0.11,,, 2.0.12,
Dependencies base (>=4.5 && <4.8), parsec (>=2 && <4), process (>=1.0), template-haskell, text (>=0.7) [details]
License MIT
Author Michael Snoyman <>
Maintainer Michael Snoyman <>
Stability Stable
Category Web, Yesod
Home page
Source repository head: git clone git://
Uploaded Thu Apr 4 14:28:01 UTC 2013 by GregWeber
Updated Fri Jul 10 16:25:35 UTC 2015 by AdamBergmark to revision 1
Distributions Arch:, Debian:2.0.7, Fedora:2.0.9, FreeBSD:2.0.5, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 49415 total (295 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]





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


Maintainer's Corner

For package maintainers and hackage trustees