hi-file-parser-0.1.0.0: Parser for GHC's hi files

Safe HaskellNone
LanguageHaskell2010

HiFileParser

Documentation

data Interface Source #

Constructors

Interface 
Instances
Show Interface Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Interface -> ShowS

show :: Interface -> String

showList :: [Interface] -> ShowS

newtype List a Source #

Constructors

List 

Fields

Instances
Show a => Show (List a) Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> List a -> ShowS

show :: List a -> String

showList :: [List a] -> ShowS

newtype Dictionary Source #

Constructors

Dictionary 

Fields

Instances
Show Dictionary Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Dictionary -> ShowS

show :: Dictionary -> String

showList :: [Dictionary] -> ShowS

newtype Module Source #

Constructors

Module 

Fields

Instances
Show Module Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Module -> ShowS

show :: Module -> String

showList :: [Module] -> ShowS

newtype Usage Source #

Constructors

Usage 

Fields

Instances
Show Usage Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Usage -> ShowS

show :: Usage -> String

showList :: [Usage] -> ShowS

data Dependencies Source #

Constructors

Dependencies 

Fields

Instances
Show Dependencies Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Dependencies -> ShowS

show :: Dependencies -> String

showList :: [Dependencies] -> ShowS

fromFile :: FilePath -> IO (Either String Interface) Source #