| Copyright | (c) 2020 Kowainik |
|---|---|
| License | MPL-2.0 |
| Maintainer | Kowainik <xrom.xkov@gmail.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Stan.Cabal
Description
Functions to work with cabal files and cabal extension maps.
Synopsis
Documentation
Arguments
| :: Bool | Do print into terminal? |
| -> [FilePath] |
|
| -> [HieFile] | |
| -> IO (Map FilePath (Either ExtensionsError ParsedExtensions)) |
From a given path to cabal files and HieFiles create the map from modules
(that are in .cabal file) to the resulting parsed extensions for each.
usedCabalFiles :: [FilePath] -> IO [FilePath] #
Gets the list of .cabal file paths that were used in the project.