HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Setting and retrieving documentation

valuedocsField :: Name

Name of the registry field holding the documentation table. The documentation table is indexed by the documented objects, like module tables and functions, and contains documentation objects as values.

The table is an ephemeron table, i.e., an entry gets garbage collected if the key is no longer reachable.

Documentation Types

datadata ModuleDoc

Module documentation

Constructors

Instances4Eq, Ord, Show, HasDescription
datadata FunctionDoc

Documentation for a Haskell function

Constructors

Instances3Eq, Ord, Show
  • Eq FunctionDocDefined in hslua-packaging-2.4.1 · HsLua.Packaging.Types
  • Ord FunctionDocDefined in hslua-packaging-2.4.1 · HsLua.Packaging.Types
  • Show FunctionDocDefined in hslua-packaging-2.4.1 · HsLua.Packaging.Types

Creating documentation values