haddock-style-module

DescriptionHow to print module docstring
Options
  • null
  • single-line
  • multi-line
  • multi-line-compact
Defaultnull
Ormolunull
Sincev0.10.0.0

This option determines what Haddock style to use for the module docstring. When this option is set to null (the default), uses the same value as haddock-style.

Examples

{- |
Module: MyModule
Author: Joe Haskell

The primary API for my library.
-}
module MyModule where
-- |
-- Module: MyModule
-- Author: Joe Haskell
--
-- The primary API for my library.
module MyModule where
{-|
Module: MyModule
Author: Joe Haskell

The primary API for my library.
-}
module MyModule where

For more examples, see the test files.

See also