graphmod-plugin-0.1.0.0: A reimplementation of graphmod as a source plugin

Safe HaskellSafe
LanguageHaskell2010

GraphMod.Utils

Synopsis

Documentation

type Qualifier = [String] Source #

A hierarchical module name.

data Import Source #

Constructors

Import 

Fields

Instances
Show Import Source # 
Instance details

Defined in GraphMod.Utils

Binary Import Source # 
Instance details

Defined in GraphMod

Methods

put_ :: BinHandle -> Import -> IO () #

put :: BinHandle -> Import -> IO (Bin Import) #

get :: BinHandle -> IO Import #

data ImpType Source #

Constructors

NormalImp 
SourceImp 
Instances
Eq ImpType Source # 
Instance details

Defined in GraphMod.Utils

Methods

(==) :: ImpType -> ImpType -> Bool #

(/=) :: ImpType -> ImpType -> Bool #

Ord ImpType Source # 
Instance details

Defined in GraphMod.Utils

Show ImpType Source # 
Instance details

Defined in GraphMod.Utils

Binary ImpType Source # 
Instance details

Defined in GraphMod

splitQualifier :: String -> Qualifier Source #

Convert a string name into a hierarchical name qualifier.

splitModName :: String -> ModName Source #

Convert a string name into a hierarchical name.

relPaths :: ModName -> [FilePath] Source #

The files in which a module might reside.

modToFile :: [FilePath] -> ModName -> IO [FilePath] Source #

The files in which a module might reside. We report only files that exist.