Install libghc-doctest-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-doctest-dev
Description:
test interactive Haskell examples
The doctest program checks examples in source code comments. It is modeled after doctest for Python (
Homepage: https://github.com/sol/doctest-haskell
Version: 0.11.4-1build1
Section: universe/haskell