Package2.2.0WebYesod
shakespeare
A toolkit for making compile-time interpolated templates
- Version2.2.0
- CategoryWeb, Yesod
- LicenceMIT
- AuthorMichael Snoyman <michael@snoyman.com>
- MaintainerMichael Snoyman <michael@snoyman.com>
- Homepagewww.yesodweb.com/book/shakespearean-templates
- Pinned byhackage shakespeare 2.2.0
- Sourcehackage.haskell.org/package/shakespeare-2.2.0
Modules
- Text.Cassius
- Text.Cassius.OrderedThis module is the twin brother of module Text.Cassius.
- Text.CoffeeA Shakespearean module for CoffeeScript, introducing type-safe,
- Text.Hamlet
- Text.Hamlet.RTProvides functionality for runtime Hamlet templates. Please use
- Text.Hamlet.RuntimeModule for parsing and rendering Hamlet templates at runtime, not compile
- Text.JuliusA Shakespearean module for Javascript templates, introducing type-safe,
- Text.Lucius
- Text.Lucius.OrderedThis module is the twin brother of module Text.Lucius.
- Text.RoyA Shakespearean module for Roy, introducing type-safe,
- Text.Shakespeare
- Text.Shakespeare.BaseGeneral parsers, functions and datatypes for all Shakespeare languages.
- Text.Shakespeare.I18NThis module provides a type-based system for providing translations
- Text.Shakespeare.TextA Shakespearean module for general text processing, introducing type-safe,
- Text.TypeScriptA Shakespearean module for TypeScript, introducing type-safe,
Internal modules · 4
- Text.Internal.Cassius
- Text.Internal.CssThis module is only being exposed to work around a GHC bug, its API is not stable
- Text.Internal.CssCommonThis module is only being exposed to work around a GHC bug, its API is not stable
- Text.Internal.Lucius
Description
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.
Depends on
19 packages- aeson-2.2.5.1in this set
- base-4.23.0.0with GHC
- blaze-html-0.9.2.0in this set
- blaze-markup-0.8.3.0in this set
- bytestring-0.12.2.0with GHC
- containers-0.8with GHC
- directory-1.3.11.0with GHC
- exceptions-0.10.12with GHC
- file-embed-0.0.16.0in this set
- parsec-3.1.18.0with GHC
- process-1.6.30.0with GHC
- scientific-0.3.9.0in this set
- template-haskell-2.25.0.0with GHC
- text-2.1.4with GHC
- th-lift-0.8.7in this set
- time-1.16.0.1with GHC
- transformers-0.6.3.0with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set