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

Safe HaskellNone
LanguageHaskell98

HsDev.Tools.ClearImports

Synopsis

Documentation

waitImports :: FilePath -> IO [String] Source

Read imports from file

cleanTmpImports :: FilePath -> IO () Source

Clean temporary files

findMinimalImports :: [String] -> FilePath -> ExceptT String IO [String] Source

Dump and read imports

groupImports :: [String] -> [[String]] Source

Groups several lines related to one import by indents

splitImport :: [String] -> (String, String) Source

Split import to import and import-list

clearImports :: [String] -> FilePath -> ExceptT String IO [(String, String)] Source

Returns minimal imports for file specified