hsdev-0.3.3.1: Haskell development library

Safe HaskellNone
LanguageHaskell98

HsDev.PackageDb.Types

Synopsis

Documentation

data PackageDb Source #

Constructors

GlobalDb 
UserDb 
PackageDb 

Fields

Instances
Eq PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Ord PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Show PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

NFData PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Methods

rnf :: PackageDb -> () #

ToJSON PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

FromJSON PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Formattable PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

FromField PackageDb Source # 
Instance details

Defined in HsDev.Database.SQLite.Instances

ToField PackageDb Source # 
Instance details

Defined in HsDev.Database.SQLite.Instances

Methods

toField :: PackageDb -> SQLData #

Paths PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

Display PackageDb Source # 
Instance details

Defined in HsDev.PackageDb.Types

newtype PackageDbStack Source #

Stack of PackageDb in reverse order

Constructors

PackageDbStack 
Instances
Eq PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Ord PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Show PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

NFData PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Methods

rnf :: PackageDbStack -> () #

ToJSON PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

FromJSON PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Formattable PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

FromField PackageDbStack Source # 
Instance details

Defined in HsDev.Database.SQLite.Instances

ToField PackageDbStack Source # 
Instance details

Defined in HsDev.Database.SQLite.Instances

Paths PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

Display PackageDbStack Source # 
Instance details

Defined in HsDev.PackageDb.Types

EnumContents PackageDbStack Source # 
Instance details

Defined in HsDev.Scan

mkPackageDbStack :: [PackageDb] -> PackageDbStack Source #

Make PackageDbStack from list of PackageDb

globalDb :: PackageDbStack Source #

Global db stack

userDb :: PackageDbStack Source #

User db stack

fromPackageDbs :: [Path] -> PackageDbStack Source #

Make package-db stack from paths

topPackageDb :: PackageDbStack -> PackageDb Source #

Get top package-db for package-db stack

packageDbs :: PackageDbStack -> [PackageDb] Source #

Get list of package-db in stack, adds additional global-db at bottom

packageDbStacks :: PackageDbStack -> [PackageDbStack] Source #

Get stacks for each package-db in stack

isSubStack :: PackageDbStack -> PackageDbStack -> Bool Source #

Is one package-db stack substack of another

packageDbOpt :: PackageDb -> String Source #

Get ghc options for package-db

packageDbStackOpts :: PackageDbStack -> [String] Source #

Get ghc options for package-db stack