[Haskell-cafe] Looking for feedback on my beginner's Haskell resource

Olaf Klinke olf at aatal-apotheke.de
Sat Nov 3 21:14:19 UTC 2018


This guide would be a perfect fit for literate Haskell [1]. It is a file format where you mix markup (e.g. LaTeX) and Haskell, so the file can be interpreted either way. In a nutshell, your html content becomes Haskell comments or the Haskell becomes <code> blocks in html. In that way, your readers could just load your document into ghci and play with it. 
Not sure whether html is supported out of the box, though. You might need to pass the .lhs file through pandoc [2] or another tool. Can anyone clarify/help on this? 

Cheers,
Olaf

[1] https://wiki.haskell.org/Literate_programming
[2] https://groups.google.com/forum/#!topic/hakyll/lFfHAk2nxbs


More information about the Haskell-Cafe mailing list