Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Leading commas are not supported in the export list #1081

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions doc/markup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -508,22 +508,6 @@ on, where the number of ``*``\ s indicates the level of the heading
If you use section headings, then Haddock will generate a table of
contents at the top of the module documentation for you.

The alternative style of placing the commas at the beginning of each
line is also supported. e.g.: ::

module Foo (
-- * Classes
, C(..)
-- * Types
-- ** A data type
, T
-- ** A record
, R
-- * Some functions
, f
, g
) where

When not using an export list, you may insert section headers in the
module body. Such section headers associate with all entities
declaried up until the next section header. For example: ::
Expand Down