Safe Haskell | None |
---|---|
Language | Haskell98 |
- dumpMinimalImports :: [String] -> FilePath -> ExceptT String IO String
- waitImports :: FilePath -> IO [String]
- cleanTmpImports :: FilePath -> IO ()
- findMinimalImports :: [String] -> FilePath -> ExceptT String IO [String]
- groupImports :: [String] -> [[String]]
- splitImport :: [String] -> (String, String)
- clearImports :: [String] -> FilePath -> ExceptT String IO [(String, String)]
- module Control.Monad.Except
Documentation
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
clearImports :: [String] -> FilePath -> ExceptT String IO [(String, String)] Source #
Returns minimal imports for file specified
module Control.Monad.Except