The ede package

[Tags:library, test]

ED-E is a templating language written in Haskell with a specific set of features:

[Skip to Readme]


Versions 0.2.1, 0.2.2, 0.2.3,, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8,,,,,,, (info)
Dependencies aeson (>=0.7), ansi-wl-pprint (>=0.6.6), base (>=4.6 && <5), bifunctors (>=4), bytestring (>=0.9), comonad (>=4.2), directory (>=1.2), double-conversion (>=2.0.2), filepath (>=1.2), free (>=4.8), lens (>=4.0), mtl (>=, parsers (>=, scientific (>=0.3.1), semigroups (>=0.15), text (>=1.2), text-format (>=0.3), text-manipulate (>=0.1.2), trifecta (>=1.6), unordered-containers (>=0.2.3), vector (>=0.7.1) [details]
License OtherLicense
Copyright Copyright (c) 2013-2015 Brendan Hay
Author Brendan Hay
Maintainer Brendan Hay <>
Stability Experimental
Category Text, Template, Web
Home page
Source repository head: git clone git://
Uploaded Thu Feb 2 09:32:09 UTC 2017 by BrendanHay
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 2096 total (18 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-02-02 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for ede

Readme for ede-



ED-E is a templating language written in Haskell with a specific set of features:

  • Logicless (within reason): A small set of consistent predicates and expressions for formatting and presentational logic are provided.
  • Secure: No arbitrary code evaluation, with input data required to be fully specified at render time.
  • Stateless: Parsing and rendering are separate steps so that loading, parsing, include resolution, and embedding of the compiled template can optionally be done ahead of time, amortising cost.
  • Markup agnostic: ED-E is used to write out everything from configuration files for system services, to HTML and formatted emails.
  • Control over purity: Users can choose pure or IO-based resolution of include expressions.
  • No surprises: All parsing, type assurances, and rendering steps report helpful error messages with line/column metadata. Variable shadowing, unprintable expressions, implicit type coercion, and unbound variable access are all treated as errors errors.

Please see the documentation for more information.


A set of syntatic/semantic fragments for all supported expressions can be found in the tests or the documentation.


For any problems, comments or feedback please create an issue here on GitHub.


ED-E is released under the Mozilla Public License Version 2.0