Ticket #50 (closed defect: fixed)
Non-recognised declarations can "get in the way" of Haddock comments being recognised
| Reported by: | waern | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 2.1.0 | Keywords: | |
| Cc: |
Description
Pragmas and other non-recognised declarations can stop Haddock commentation being recognised.
e.g. This is undocumented in the resulting haddock ("A comment" is missing).
-- | A comment.
{-# INLINE genVennAsList #-}
genVennAsList :: (a -> b -> COrdering c) -> AVL a -> AVL b -> (AVL a, [c], AVL b)
genVennAsList cmp = genVennToList cmp []
.. but this is OK
-- | A comment.
genVennAsList :: (a -> b -> COrdering c) -> AVL a -> AVL b -> (AVL a, [c], AVL b)
{-# INLINE genVennAsList #-}
genVennAsList cmp = genVennToList cmp []
Change History
Note: See
TracTickets for help on using
tickets.
