Skip to content

Instantly share code, notes, and snippets.

Yogesh Sajanikar yogeshsajanikar

Block or report user

Report or block yogeshsajanikar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sebfisch
sebfisch / gist:3757918
Created Sep 20, 2012
Comparing Snap's and Yesod's Template Languages Heist and Hamlet
View gist:3757918

Comparing Snap's and Yesod's Template Languages Heist and Hamlet - and HSP

Currently, Snap and Yesod are the two most active web frameworks for Haskell. In this document, I compare the template languages used by those frameworks for generating HTML.

Both template languages let programmers write markup directly in a markup language rather than generating it from within Haskell. Compared with static HMTL, template languages support substitution to dynamically determine parts of the content of the generated page.

[Heist] and [Hamlet] support different constructs to generate content dynamically. They also differ regarding their syntax for static content.

You can’t perform that action at this time.