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

Safe HaskellNone
LanguageHaskell98

HsDev.Scan

Contents

Synopsis

Enumerate functions

enumCabal :: [String] -> Cabal -> ErrorT String IO [ModuleLocation] Source

Enum cabal modules

type CompileFlag = String Source

Compile flags

type ModuleToScan = (ModuleLocation, [CompileFlag]) Source

Module with flags ready to scan

type ProjectToScan = (Project, [ModuleToScan]) Source

Project ready to scan

Scan

upToDate :: [String] -> InspectedModule -> ErrorT String IO Bool Source

Is inspected module up to date?

changedModule :: Database -> [String] -> ModuleLocation -> ErrorT String IO Bool Source

Is module new or recently changed

changedModules :: Database -> [String] -> [ModuleLocation] -> ErrorT String IO [ModuleLocation] Source

Returns new (to scan) and changed (to rescan) modules