diff options
-rw-r--r-- | src/Haddock/Types.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Haddock/Types.hs b/src/Haddock/Types.hs index ac3f2b5f..544c7575 100644 --- a/src/Haddock/Types.hs +++ b/src/Haddock/Types.hs @@ -44,6 +44,8 @@ type HsDocString = HsDoc Name type LHsDocString = Located HsDocString #endif +-- | Arguments and result are indexed by Int, zero-based from the left, +-- because that's the easiest to use when recursing over types. type FnArgsDoc name = Map Int (HsDoc name) type DocForDecl name = (Maybe (HsDoc name), FnArgsDoc name) |