Test interactive Haskell examples

Version on this page:
LTS Haskell 15.14:0.16.3
Stackage Nightly 2020-05-26:0.16.3
Latest on Hackage:0.16.3

See all snapshots doctest appears in

MIT licensed and maintained by Simon Hengel

Module documentation for

This version can be pinned in stack with:[email protected]:17bbc231a78caa4eba62ccb1f237ae064d7ba1ebf9215894c5c1a75a031a836a,2460
  • Test
    • Test.DocTest

The doctest program checks examples in source code comments. It is modeled after doctest for Python (

Documentation is at