Haskell Kaleidoscope Tutorial http://www.stephendiehl.com/llvm
This is an open source project, patches and corrections always welcome.
Install the dependencies:
$ cabal sandbox init
$ cabal configure
$ cabal install --only-dependencies
To generate the HTML page:
$ make tutorial.html
A standalone PDF can also be generated with:
$ make tutorial.pdf
LLVM + MIT License