doctest

test interactive Haskell examples; executable

Install

All systems
curl cmd.cat/doctest.sh
Debian Debian
apt-get install doctest
Ubuntu
apt-get install doctest
Arch Arch Linux
pacman -S doctest
image/svg+xml Kali Linux
apt-get install doctest
Fedora
dnf install doctest
Windows (WSL2)
sudo apt-get update sudo apt-get install doctest
Raspbian
apt-get install doctest

doctest

test interactive Haskell examples; executable

The doctest program checks examples in source code comments. It is modeled after doctest for Python (<http://docs.python.org/library/doctest.html>). Documentation is at <https://github.com/sol/doctest-haskell#readme>. This package contains the doctest executable.

ghc-doctest-devel

files

haskell-doctest

Test interactive Haskell examples