Skip to content

Commit 80283fb

Browse files
committed
docs!: module sections
1 parent 359ea86 commit 80283fb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/Text/Megaparsec/Utils.hs

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,22 @@
1212
--
1313
-- Generic utilities and common parsers.
1414
module Text.Megaparsec.Utils (
15+
-- * Scalar parsers
1516
boolParser,
16-
boundedEnumShowParser,
17-
commaSeparated,
1817
numParser,
19-
occurrence,
20-
occurrences,
21-
parsecToJSONParser,
22-
parsecToReadsPrec,
2318
posDecNumParser,
2419
posNumParser,
2520
uuidParser,
21+
22+
-- * Combinators
23+
commaSeparated,
24+
occurrence,
25+
occurrences,
26+
27+
-- * Compatibility utilities
28+
boundedEnumShowParser,
29+
parsecToReadsPrec,
30+
parsecToJSONParser,
2631
) where
2732

2833
import Control.Applicative (many, some, (<|>))

0 commit comments

Comments
 (0)