4 ms·
The Haskell documentation generation tool is named haddock. It comes with GHC. I've never run it standalone, so I don't know how involved that is. But I frequen
by chowells 7y ago
The Haskell documentation generation tool is named haddock. It comes with GHC. I've never run it standalone, so I don't know how involved that is. But I frequently run it with the command "cabal haddock", which takes care of telling it where all your source files are and where to drop the output.
- ph2082 7y agoThank for reply. I'll dig into it. Kind of documentation I am thinking about not only description of what method do, but also include example of 'how to use' it.
- sjakobi 7y agoDoctests are often useful to briefly demonstrate how something works: http://hackage.haskell.org/package/doctest http://hackage.haskell.org/package/doctest They are a bit finicky to set up though. Another good resource: http://yannesposito.com/Scratch/en/blog/Haskell-Tutorials--a-tutorial/ http://yannesposito.com/Scratch/en/blog/Haskell-Tutorials--a...