Package2.1.0.1WebYesod
shakespeare
A toolkit for making compile-time interpolated templates
- Version2.1.0.1
- CategoryWeb, Yesod
- LicenceMIT
- AuthorMichael Snoyman <michael@snoyman.com>
- MaintainerMichael Snoyman <michael@snoyman.com>
- Homepagewww.yesodweb.com/book/shakespearean-templates
- Pinned byhackage shakespeare 2.1.0.1
- Sourcehackage.haskell.org/package/shakespeare-2.1.0.1
Modules
19 modules- Text.Cassius24
- Text.Cassius.Ordered24This module is the twin brother of module Text.Cassius.
- Text.Coffee4A Shakespearean module for CoffeeScript, introducing type-safe,
- Text.Hamlet35
- Text.Hamlet.RT8Provides functionality for runtime Hamlet templates. Please use
- Text.Hamlet.Runtime8Module for parsing and rendering Hamlet templates at runtime, not compile
- Text.Julius18A Shakespearean module for Javascript templates, introducing type-safe,
- Text.Lucius30
- Text.Lucius.Ordered30This module is the twin brother of module Text.Lucius.
- Text.Roy3A Shakespearean module for Roy, introducing type-safe,
- Text.Shakespeare17
- Text.Shakespeare.Base20General parsers, functions and datatypes for all Shakespeare languages.
- Text.Shakespeare.I18N7This module provides a type-based system for providing translations
- Text.Shakespeare.Text17A Shakespearean module for general text processing, introducing type-safe,
- Text.TypeScript6A Shakespearean module for TypeScript, introducing type-safe,
Internal modules · 4
- Text.Internal.Cassius1
- Text.Internal.Css41This module is only being exposed to work around a GHC bug, its API is not stable
- Text.Internal.CssCommon15This module is only being exposed to work around a GHC bug, its API is not stable
- Text.Internal.Lucius30
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
20 packages- aeson-2.2.3.0in this set
- base-4.20.2.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.7with GHC
- directory-1.3.8.5with GHC
- exceptions-0.10.9with GHC
- file-embed-0.0.16.0in this set
- ghc-prim-0.12.0with GHC
- parsec-3.1.18.0with GHC
- process-1.6.26.1with GHC
- scientific-0.3.8.0in this set
- template-haskell-2.22.0.0with GHC
- text-2.1.3with GHC
- th-lift-0.8.6in this set
- time-1.12.2with GHC
- transformers-0.6.1.1with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set