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.Cassius
- Text.Internal.Css
- Text.Internal.CssCommon
- Text.Internal.Lucius
- 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.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates