The shakespeare package

[ Tags: library, mit, web, yesod ] [ Propose Tags ]

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: shakespeare-js, shakespeare-css, shakespeare-text, hamlet, and 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, 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
Dependencies aeson, base (>=4 && <4.8), blaze-builder, blaze-html (>=0.5), blaze-markup, bytestring (>=0.9.1.4), containers, directory, exceptions, ghc-prim, http-types, parsec (>=2 && <4), process (>=1.0), shakespeare, system-fileio (>=0.3), system-filepath (>=0.4), template-haskell, text (>=0.7), time (>=1), transformers, wai (>=1.3 && <2.2), wai-app-static (>=2.0.1 && <2.1) [details]
License MIT
Author Michael Snoyman <michael@snoyman.com>
Maintainer Michael Snoyman <michael@snoyman.com>
Category Web, Yesod
Home page http://www.yesodweb.com/book/shakespearean-templates
Source repository head: git clone git://github.com/yesodweb/shakespeare.git
Uploaded Sun Mar 30 07:15:50 UTC 2014 by MichaelSnoyman
Updated Fri Jul 10 16:27:58 UTC 2015 by AdamBergmark to revision 1
Distributions Arch:2.0.14, Debian:2.0.7, Fedora:2.0.12.1, FreeBSD:2.0.5, LTSHaskell:2.0.14, NixOS:2.0.14, Stackage:2.0.14, Tumbleweed:2.0.13
Executables servius
Downloads 58600 total (439 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
test_exportDisabledAutomatic
test_coffee

render tests through coffeescript render function

DisabledAutomatic
test_roy

render tests through coffeescript render function

DisabledAutomatic
servius

build the servius web server

EnabledAutomatic

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

For package maintainers and hackage trustees