hsdev-0.1.6.2: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Cabal

Synopsis

Documentation

sandbox :: Cabal -> Maybe FilePath Source

Get sandbox

isPackageDb :: FilePath -> Bool Source

Is -package-db file

findPackageDb :: FilePath -> IO (Maybe FilePath) Source

Find -package-db path for sandbox directory or package-db file itself

locateSandbox :: FilePath -> ExceptT String IO Cabal Source

Create sandbox by directory or package-db file

getSandbox :: FilePath -> IO Cabal Source

Try find sandbox by parent directory

searchSandbox :: FilePath -> IO Cabal Source

Search sandbox

cabalOpt :: Cabal -> [String] Source

Cabal ghc option