CHAPTER 15

image

Documenting, Testing, and Verifying

At this point you know many of the features and intricacies of the Haskell language and many of its libraries. This chapter won’t teach you any more about the language but rather will focus on some tools that help you in the process of coding libraries and applications. These tools support good engineering practices within Haskell.

An important and often overlooked practice as you program is to write good documentation for the source. Even though Haskell is a high-level language, there’s always room for documenting the purpose of each data type and function in your modules. Haddock is bundled with ...

Get Beginning Haskell: A Project-Based Approach now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.