HaTeX is a Haskell library that implements the LaTeX syntax.
Check a list of examples of usage in the Examples directory. A good starting point may be simple.hs. Run any example script executing the
HaTeX, use cabal-install.
$ cabal update $ cabal install HaTeX
This will install the latest official release (recommended). If you want to try a newer version, use git to clone the code contained in this repository.
$ git clone firstname.lastname@example.org:Daniel-Diaz/HaTeX.git $ cd HaTeX $ cabal install
However, note that the API may be unstable and is subject to any kind of change. In the other hand, this package follows the Package Versioning Policy, so it is unlikely to suffer from API breakages if you follow it too when importing the library.
The HaTeX User's Guide lives here... and is also done in Haskell! It is free source and anybody can contribute to it. Doing so, you will help current and future users!
A downloadable version (not necessarily the last version, but most likely) can be found here. To be sure that you are reading the last version, go to the github repository of the guide and follow instructions to build it. It is fairly easy.
There are many ways to get involved in the HaTeX project.