haskell-tools-daemon-0.8.1.0: Background process for Haskell-tools refactor that editors can connect to.
Language.Haskell.Tools.Refactor.Daemon.PackageDB
Synopsis
data PackageDB Source #
Constructors
Fields
Instances
Methods
showsPrec :: Int -> PackageDB -> ShowS #
show :: PackageDB -> String #
showList :: [PackageDB] -> ShowS #
Associated Types
type Rep PackageDB :: * -> * #
from :: PackageDB -> Rep PackageDB x #
to :: Rep PackageDB x -> PackageDB #
parseJSON :: Value -> Parser PackageDB #
parseJSONList :: Value -> Parser [PackageDB] #
packageDBLoc :: PackageDB -> FilePath -> IO [FilePath] Source #
detectAutogen :: FilePath -> PackageDB -> IO (Maybe FilePath) Source #
Gets the (probable) location of autogen folder depending on which type of build we are using.
trim :: String -> String Source #
choose :: Alternative f => [f a] -> f a Source #
ifExists :: FilePath -> IO (Maybe FilePath) Source #