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

How it works...

Blaze-from-html is an extremely useful, though not a perfect, solution. It can be used with an advantage for capturing the skeleton of a page. For example, it can be used to capture the designs from the skeleton or bootstrap (http://getbootstrap.com) examples. 

Once reverse engineered, it is easier to hook user data types into it to render the page the way we want it. Other tools which are useful in this context are pandoc (https://pandoc.org - a generic document converter for many document types) and hakyll (https://jaspervdj.be/hakyll/ - static website generator).

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