Hi all,<div><br></div><div>I&#39;d like to announce the first release of Hamlet[1], a templating system which is fully compile-time checked. Templates are parsed via quasi-quoting, giving you greater confidence in the validity of your templates. The syntax is inspired by Haml[2]; however, it is most definitely its own language, avoiding embedding of arbitrary code in favor of a more strict view-logic separation.</div>
<div><br></div><div>Finally, it has a goal of allowing high performance uses; to facilitate this, it allows calling monadic code from inside the template, and can use enumerators for traversing elements. While these features could be abused to allow templates to perform unintended side-effects, the performance gains allowed by them are sometimes essential.</div>
<div><br></div><div>I have started a documentation site for all Yesod-related packages[3], and in particular there is a Hamlet section[4]. I&#39;ve also put up a small blog post[5] on this release, which explains how Hamlet fits into the Yesod ecosystem. (For those not in the know, Yesod is a web framework I&#39;m working on.)</div>
<div><br></div><div>Michael</div><div><br></div><div>[1] <a href="http://hackage.haskell.org/package/hamlet-0.0.0">http://hackage.haskell.org/package/hamlet-0.0.0</a></div><div>[2] <a href="http://haml-lang.com/">http://haml-lang.com/</a></div>
<div>[3] <a href="http://docs.yesodweb.com/">http://docs.yesodweb.com/</a></div><div>[4] <a href="http://docs.yesodweb.com/hamlet/">http://docs.yesodweb.com/hamlet/</a></div><div>[5] <a href="http://www.snoyman.com/blog/entry/hamlet-is-born/">http://www.snoyman.com/blog/entry/hamlet-is-born/</a></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8">