[commit: ghc] master: Expose listPackageConfigMap (86eff3d)

git at git.haskell.org git at git.haskell.org
Tue Mar 17 16:22:57 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/86eff3d92ffa3c9be29e037c01fd9b3fec8976e7/ghc

>---------------------------------------------------------------

commit 86eff3d92ffa3c9be29e037c01fd9b3fec8976e7
Author: Edsko de Vries <edsko at well-typed.com>
Date:   Tue Mar 17 11:12:51 2015 -0500

    Expose listPackageConfigMap
    
    This is useful for code that needs to search the package config map for
    packages satisfying a certain condition.
    
    Reviewed By: ezyang
    
    Differential Revision: https://phabricator.haskell.org/D695


>---------------------------------------------------------------

86eff3d92ffa3c9be29e037c01fd9b3fec8976e7
 compiler/main/Packages.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/main/Packages.hs b/compiler/main/Packages.hs
index e36221b..4f8afb5 100644
--- a/compiler/main/Packages.hs
+++ b/compiler/main/Packages.hs
@@ -13,6 +13,7 @@ module Packages (
         getPackageConfRefs,
         resolvePackageConfig,
         readPackageConfig,
+        listPackageConfigMap,
 
         -- * Querying the package config
         lookupPackage,



More information about the ghc-commits mailing list