aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Haddock/Types.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs
index f1e01459..0efffafb 100644
--- a/src/Haddock/Types.hs
+++ b/src/Haddock/Types.hs
@@ -14,7 +14,7 @@ import qualified Data.Map as Map
import GHC hiding (NoLink)
import Outputable
-
+{-! for DocOption derive: Binary !-}
data DocOption
= OptHide -- ^ This module should not appear in the docs
| OptPrune
@@ -80,6 +80,7 @@ type DocMap = Map Name (HsDoc DocName)
type LinkEnv = Map Name Name
+{-! for DocName derive: Binary !-}
data DocName = Link Name | NoLink Name