hsinspect-0.0.14: Inspect Haskell source files.
HsInspect.TypeParser
data Type Source #
Constructors
^ type tparams cons [param types]
^ type tparams cons [(fieldname, param type)]
^ type tparams [(cons, param types)] (no records)
Defined in HsInspect.TypeParser
Methods
(==) :: Type -> Type -> Bool #
(/=) :: Type -> Type -> Bool #
showsPrec :: Int -> Type -> ShowS #
show :: Type -> String #
showList :: [Type] -> ShowS #
data Pos Source #
(==) :: Pos -> Pos -> Bool #
(/=) :: Pos -> Pos -> Bool #
compare :: Pos -> Pos -> Ordering #
(<) :: Pos -> Pos -> Bool #
(<=) :: Pos -> Pos -> Bool #
(>) :: Pos -> Pos -> Bool #
(>=) :: Pos -> Pos -> Bool #
max :: Pos -> Pos -> Pos #
min :: Pos -> Pos -> Pos #
showsPrec :: Int -> Pos -> ShowS #
show :: Pos -> String #
showList :: [Pos] -> ShowS #
data Comment Source #
(==) :: Comment -> Comment -> Bool #
(/=) :: Comment -> Comment -> Bool #
showsPrec :: Int -> Comment -> ShowS #
show :: Comment -> String #
showList :: [Comment] -> ShowS #
parseTypes :: HscEnv -> FilePath -> IO ([Type], [Comment]) Source #