aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Types.hs
diff options
context:
space:
mode:
authorƁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-07-15 18:28:17 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-08-21 18:22:30 +0100
commitd6741ee8d407a8ac3c16e5bbddb657cab442a14c (patch)
tree8c8977494cd45f376170faded83ea795141adeeb /haddock-api/src/Haddock/Types.hs
parent6fc527b41b1ba80c706a375420f40e6eed8c81c8 (diff)
Hook type specialization logic with HTML pretty-printer.
Diffstat (limited to 'haddock-api/src/Haddock/Types.hs')
-rw-r--r--haddock-api/src/Haddock/Types.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Types.hs b/haddock-api/src/Haddock/Types.hs
index 5a03af66..76164b5e 100644
--- a/haddock-api/src/Haddock/Types.hs
+++ b/haddock-api/src/Haddock/Types.hs
@@ -328,6 +328,12 @@ data InstHead name = InstHead
, ihdInstType :: InstType name
}
+-- | Instance details used for printing specialized method signatures.
+data InstSpec name = InstSpec
+ { ispecTyVars :: LHsTyVarBndrs name
+ , ispecSigs :: [Sig name]
+ }
+
-----------------------------------------------------------------------------
-- * Documentation comments
-----------------------------------------------------------------------------