hi-file-parser-0.1.3.0: Parser for GHC's hi files
Safe HaskellSafe-Inferred
LanguageHaskell2010

HiFileParser

Documentation

data Interface Source #

Constructors

Interface 

Instances

Instances details
Generic Interface Source # 
Instance details

Defined in HiFileParser

Associated Types

type Rep Interface :: Type -> Type

Methods

from :: Interface -> Rep Interface x

to :: Rep Interface x -> Interface

Show Interface Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Interface -> ShowS

show :: Interface -> String

showList :: [Interface] -> ShowS

NFData Interface Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: Interface -> ()

type Rep Interface Source # 
Instance details

Defined in HiFileParser

type Rep Interface = D1 ('MetaData "Interface" "HiFileParser" "hi-file-parser-0.1.3.0-CoJaNVdJ2oD50dnRkJEiRN" 'False) (C1 ('MetaCons "Interface" 'PrefixI 'True) (S1 ('MetaSel ('Just "deps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Dependencies) :*: S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List Usage))))

newtype List a Source #

Constructors

List 

Fields

Instances

Instances details
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

NFData a => NFData (List a) Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: List a -> ()

newtype Dictionary Source #

Constructors

Dictionary 

Fields

Instances

Instances details
Show Dictionary Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Dictionary -> ShowS

show :: Dictionary -> String

showList :: [Dictionary] -> ShowS

NFData Dictionary Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: Dictionary -> ()

newtype Module Source #

Constructors

Module 

Fields

Instances

Instances details
Show Module Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Module -> ShowS

show :: Module -> String

showList :: [Module] -> ShowS

NFData Module Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: Module -> ()

newtype Usage Source #

Constructors

Usage 

Fields

Instances

Instances details
Show Usage Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Usage -> ShowS

show :: Usage -> String

showList :: [Usage] -> ShowS

NFData Usage Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: Usage -> ()

data Dependencies Source #

Constructors

Dependencies 

Fields

Instances

Instances details
Generic Dependencies Source # 
Instance details

Defined in HiFileParser

Associated Types

type Rep Dependencies :: Type -> Type

Show Dependencies Source # 
Instance details

Defined in HiFileParser

Methods

showsPrec :: Int -> Dependencies -> ShowS

show :: Dependencies -> String

showList :: [Dependencies] -> ShowS

NFData Dependencies Source # 
Instance details

Defined in HiFileParser

Methods

rnf :: Dependencies -> ()

type Rep Dependencies Source # 
Instance details

Defined in HiFileParser

type Rep Dependencies

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