Haskell Documentation

Write and enforce Haskell documentation with Haddock + Doctest. Covers the syntax cheat sheet (before/after declarations, records, sum types, module headers), the Haddock coverage gate (`-Wmissing-docs` and `haddock -Werror` do not exist on GHC 9.10.3 — use `scripts/check-haddock.sh`), executable examples via doctest, and how to keep docs from drifting from code. Use when adding documentation, configuring the doctest test-suite, deciding what to put in Haddock vs hspec, or debugging Haddock warnings.

ivelten Updated

File contents

ivelten/claude-haskell-skills/tree/main/plugins/haskell/skills/haskell-documentation commit b1cb0172ce

Frequently asked questions

npx skillmds@latest add ivelten/haskell-documentation