Copyright | (c) 2020 Kowainik |
---|---|
License | MPL-2.0 |
Maintainer | Kowainik <xrom.xkov@gmail.com> |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Functions to work with cabal files and cabal extension maps.
Synopsis
Documentation
createCabalExtensionsMap Source #
:: Bool | Do print into terminal? |
-> [FilePath] |
|
-> [HieFile] | |
-> IO (Map FilePath (Either ExtensionsError ParsedExtensions)) |
From a given path to cabal files and HieFile
s create the map from modules
(that are in .cabal file) to the resulting parsed extensions for each.