@@ -1,6 +1,6 @@
11{-# LANGUAGE DeriveFunctor, PatternGuards, MultiWayIf #-}
22{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
3−module Idris.Docs (pprintDocs, getDocs, pprintConstDocs, pprintType1Doc, FunDoc, FunDoc'(..), Docs, Docs'(..)) where
3+module Idris.Docs (pprintDocs, getDocs, pprintConstDocs, pprintTypeDoc, FunDoc, FunDoc'(..), Docs, Docs'(..)) where
44
55import Idris.AbsSyntax
66import Idris.AbsSyntaxTree
@@ -319,6 +319,6 @@ pprintConstDocs ist c str = text "Primitive" <+> text (if constIsType c then "ty
319319 t _ = PType NoFC
320320
321321
322−pprintType1Doc :: IState -> Doc OutputAnnotation
323−pprintType1Doc ist = prettyIst ist (PType emptyFC) <+> colon <+> type1Doc <+>
322+pprintTypeDoc :: IState -> Doc OutputAnnotation
323+pprintTypeDoc ist = prettyIst ist (PType emptyFC) <+> colon <+> type1Doc <+>
324324 nest 4 (line <> text typeDescription)