This is a blog post with live code about concurrency programming in Haskell.
post.orgis the blog post, in Emacs Org-Mode and Babel live code
docs/index.htmlis the post in HTML format, served from http://massimo-zaniboni.github.io/threads-post
threads-post.cabalis the entry point for the Haskell code
Makefilespecifies the benchmarks and tests parts inserted in the document
How to generate the
First generate all the benchmarks parts with
make clean make all
post.org inside Emacs + Org-Mode + Babel. Tell Emacs to export the document to HTML (in Spacemacs is the sequence
SPC m e e h h). Probably you must first configure Babel for recognizing the type of scripts inside the document.
cp post.html docs/index.html
Commit and push to GitHub.
Source code and post content is released under BSD2 license. See
LICENSE file for more details.