hsdev-0.3.1.3: Haskell development library

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