3 ms·
Thank 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
by ph2082 7y ago
Thank 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...