[commit: ghc] master: Refactor PackageFlags so that ExposePackage is a single constructor. (4accf60)

git at git.haskell.org git at git.haskell.org
Tue Aug 5 10:15:45 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4accf60184dba550ef0cbdf70fa8e708a4007370/ghc

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

commit 4accf60184dba550ef0cbdf70fa8e708a4007370
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date:   Fri Aug 1 19:07:03 2014 +0100

    Refactor PackageFlags so that ExposePackage is a single constructor.
    
    You can parametrize over the different selection by using a
    different PackageArg.  This helps reduce code duplication.
    
    Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>


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

4accf60184dba550ef0cbdf70fa8e708a4007370
 compiler/main/DynFlags.hs  | 25 ++++++++++++++------
 compiler/main/Packages.lhs | 58 +++++++++++++++++-----------------------------
 ghc/InteractiveUI.hs       |  7 +++---
 3 files changed, 43 insertions(+), 47 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 4accf60184dba550ef0cbdf70fa8e708a4007370


More information about the ghc-commits mailing list