The shakespeare package

[Tags:library, mit]

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.

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, 1.0.5.1, 1.2.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.2.1, 1.2.1.1, 2.0.0, 2.0.0.1, 2.0.0.3, 2.0.1, 2.0.1.1, 2.0.1.2, 2.0.2, 2.0.2.1, 2.0.2.2, 2.0.3, 2.0.4, 2.0.4.1, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.8.1, 2.0.8.2, 2.0.9
Change log ChangeLog.md
Dependencies aeson, base (==4.*), blaze-html, blaze-markup, bytestring, containers, directory (>=1.2), exceptions, ghc-prim, parsec (>=2 && <4), process (>=1.0), scientific (>=0.3.0.0), template-haskell (>=2.7), text (>=0.7), time (>=1), transformers, unordered-containers, vector [details]
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 head: git clone https://github.com/yesodweb/shakespeare.git
Uploaded Mon Jun 20 17:02:21 UTC 2016 by MichaelSnoyman
Distributions Arch:2.0.9, Debian:2.0.7, Fedora:2.0.1.1, FreeBSD:2.0.5, LTSHaskell:2.0.9, NixOS:2.0.9, Stackage:2.0.9
Downloads 47950 total (108 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Modules

  • Text
    • Text.Cassius
    • Text.Coffee
    • Text.Hamlet
      • Text.Hamlet.RT
      • Text.Hamlet.Runtime
    • Text.Julius
    • Text.Lucius
    • Text.Roy
    • Text.Shakespeare
      • Text.Shakespeare.Base
      • Text.Shakespeare.I18N
      • Text.Shakespeare.Text
    • Text.TypeScript

Flags

NameDescriptionDefaultType
test_exportDisabledAutomatic
test_coffeerender tests through coffeescript render functionDisabledAutomatic
test_royrender tests through coffeescript render functionDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees