O'Reilly logo

Haskell Cookbook by Yogesh Sajanikar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using heist as a template engine

In this recipe, we will work with heist, a templating framework that can work with HTML or XML documents. The heist framework is also a default templating framework used for the Snap web development framework. At the same time, heist does not have any dependency on Snap and can be used independently.

In this recipe, we will create a template and bind a value to the template.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required