shakespeare: A toolkit for making compile-time interpolated templates

[ library, mit, web, yesod ] [ Propose Tags ] [ Report a vulnerability ]

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.

Flags

Automatic Flags
NameDescriptionDefault
test_exportDisabled
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

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 2.0.10, 2.0.11, 2.0.11.1, 2.0.11.2, 2.0.12, 2.0.12.1, 2.0.13, 2.0.14, 2.0.14.1, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.24.1, 2.0.25, 2.0.25.1, 2.0.26, 2.0.27, 2.0.29, 2.0.30, 2.1.0, 2.1.0.1, 2.1.1 (info)
Change log ChangeLog.md
Dependencies aeson (<1.6), base (>=4.9 && <5), 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>
Revised Revision 1 made by sjakobi at 2021-10-11T11:44:26Z
Category Web, Yesod
Home page http://www.yesodweb.com/book/shakespearean-templates
Source repo head: git clone https://github.com/yesodweb/shakespeare.git
Uploaded by MichaelSnoyman at 2019-09-02T13:29:37Z
Distributions Arch:2.1.0.1, Debian:2.0.24.1, Fedora:2.1.0, FreeBSD:2.0.5, LTSHaskell:2.1.1, NixOS:2.1.0.1, Stackage:2.1.1, openSUSE:2.1.1
Reverse Dependencies 85 direct, 348 indirect [details]
Downloads 128674 total (588 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-09-02 [all 1 reports]