haskell-tools-refactor-0.2.0.0: Refactoring Tool for Haskell
Language.Haskell.Tools.Refactor.GetModules
Synopsis
getModules :: FilePath -> IO [String] Source #
Get modules of the project with the indicated root directory. If there is a cabal file, it uses that, otherwise it just scans the directory recursively for haskell sourcefiles.
modulesFromCabalFile :: FilePath -> IO [String] Source #
modulesFromDirectory :: FilePath -> FilePath -> IO [String] Source #