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

Safe HaskellNone




Enumerate functions

type CompileFlag = String Source

Compile flags

type ModuleToScan = (ModuleLocation, [CompileFlag], Maybe String) Source

Module with flags ready to scan

type ProjectToScan = (Project, [ModuleToScan]) Source

Project ready to scan

type PackageDbToScan = PackageDbStack Source

Package-db sandbox to scan (top of stack)


scanModify :: ([String] -> PackageDbStack -> Module -> ExceptT String IO Module) -> InspectedModule -> ExceptT String IO InspectedModule Source

Scan additional info and modify scanned module. Dones't fail on error, just left module unchanged

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

Is inspected module up to date?

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

Is module new or recently changed

changedModules :: Database -> [String] -> [ModuleToScan] -> ExceptT String IO [ModuleToScan] Source

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