Skip to content

Commit efa706b

Browse files
authored
Mark internal modules not-home for haddock (#294)
…to ensure that hyperlinks preferably target the public modules.
1 parent 352591a commit efa706b

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

Data/HashMap/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
{-# LANGUAGE UnboxedSums #-}
1111
#endif
1212
{-# OPTIONS_GHC -fno-full-laziness -funbox-strict-fields #-}
13+
{-# OPTIONS_HADDOCK not-home #-}
1314

1415
-- | = WARNING
1516
--

Data/HashMap/Internal/Array.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{-# LANGUAGE BangPatterns, CPP, MagicHash, Rank2Types, UnboxedTuples, ScopedTypeVariables #-}
22
{-# OPTIONS_GHC -fno-full-laziness -funbox-strict-fields #-}
3+
{-# OPTIONS_HADDOCK not-home #-}
34

45
-- | = WARNING
56
--

Data/HashMap/Internal/List.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{-# LANGUAGE ScopedTypeVariables #-}
22
{-# OPTIONS_GHC -fno-full-laziness -funbox-strict-fields #-}
3+
{-# OPTIONS_HADDOCK not-home #-}
34

45
-- | = WARNING
56
--

Data/HashMap/Internal/Strict.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{-# LANGUAGE BangPatterns, CPP, PatternGuards, MagicHash, UnboxedTuples #-}
22
{-# LANGUAGE LambdaCase #-}
33
{-# LANGUAGE Trustworthy #-}
4+
{-# OPTIONS_HADDOCK not-home #-}
45

56
------------------------------------------------------------------------
67
-- |

Data/HashMap/Internal/Unsafe.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
{-# LANGUAGE MagicHash, Rank2Types, UnboxedTuples #-}
55
#endif
66

7+
{-# OPTIONS_HADDOCK not-home #-}
8+
79
-- | = WARNING
810
--
911
-- This module is considered __internal__.

Data/HashSet/Internal.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#if __GLASGOW_HASKELL__ >= 702
77
{-# LANGUAGE Trustworthy #-}
88
#endif
9+
{-# OPTIONS_HADDOCK not-home #-}
910

1011
------------------------------------------------------------------------
1112
-- |

0 commit comments

Comments
 (0)