shakespeare: A toolkit for making compile-time interpolated templates
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: xml-hamlet
Please see the documentation at http://www.yesodweb.com/book/shakespearean-templates for more details.
Modules
[Index] [Quick Jump]
- Text
- Text.Cassius
- Text.Coffee
- Text.Hamlet
- Internal
- Text.Internal.Css
- Text.Internal.CssCommon
- Text.Julius
- Text.Lucius
- Text.Roy
- Text.Shakespeare
- Text.TypeScript
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
test_export | Disabled | |
test_coffee | render tests through coffeescript render function | Disabled |
test_roy | render tests through roy render function | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- shakespeare-2.0.21.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates