The shakespeare package
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 http://www.yesodweb.com/book/shakespearean-templates for more details.
Properties
| Versions | 0.10.0, 0.10.1, 0.10.1.1, 0.10.2, 0.10.3, 0.10.3.1, 0.11, 1.0.0, 1.0.0.1, 1.0.0.2, 1.0.1, 1.0.1.1, 1.0.1.2, 1.0.1.3, 1.0.1.4, 1.0.2, 1.0.3, 1.0.3.1, 1.0.4, 1.0.5 |
|---|---|
| Dependencies | base (4.*), containers, parsec (≥2 & <4), process (≥1.0), system-fileio (≥0.3), system-filepath (≥0.4), template-haskell, text (≥0.7), time (≥1) |
| License | MIT |
| Author | Michael Snoyman <michael@snoyman.com> |
| Maintainer | Michael Snoyman <michael@snoyman.com> |
| Stability | Stable |
| Category | Web, Yesod |
| Home page | http://www.yesodweb.com/book/shakespearean-templates |
| Source repository | git clone git://github.com/yesodweb/shakespeare.git |
| Upload date | Mon Apr 22 10:30:51 UTC 2013 |
| Uploaded by | MichaelSnoyman |
| Built on | ghc-7.6 |
| Distributions | Fedora: 1.0.1.4, NixOS: 1.0.5, Debian: 1.0.2, FreeBSD: 1.0.5 |
Modules
Downloads
- shakespeare-1.0.5.tar.gz (Cabal source package)
- package description (included in the package)