shakespeare-js: Stick your haskell variables into javascript/coffeescript at compile time.

[ deprecated, library, mit, web, yesod ] [ Propose Tags ]
Deprecated. in favor of shakespeare
Versions 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.11.0,, 0.11.1, 0.11.2, 1.0.0,,,,,,, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2,, 1.1.3, 1.1.4,, 1.2.0,,,,, 1.3.0
Dependencies base (==4.*), process (>=1.0 && <1.2), shakespeare (==0.10.*), template‑haskell, text (>=0.7 && <0.12) [details]
License BSD-3-Clause
Author Michael Snoyman <>
Maintainer Michael Snoyman <>
Category Web, Yesod
Home page
Source repo head: git clone git://
Uploaded by MichaelSnoyman at Mon Oct 3 10:31:33 UTC 2011
Distributions Debian:, NixOS:1.3.0
Downloads 34392 total (81 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation . Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToJavascript instance.

There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance.

Please see for a more thorough description and examples

shakespeare-js was originally called julius, and shakespeare originated from the hamlet template package.




Maintainer's Corner

For package maintainers and hackage trustees