Make 'FlagName' opaque
commit13a8221c96f7ca544c6a66678d543fc30c98a34e
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 30 Oct 2016 17:45:58 +0000 (30 18:45 +0100)
committerEdward Z. Yang <ezyang@mit.edu>
Mon, 31 Oct 2016 09:48:44 +0000 (31 02:48 -0700)
treeace2f0c9d2637329df1b416d8ad9e52b1076d9ab
parentd731a1c4e7086a8acbdbb789054f9bde57bc5a55
Make 'FlagName' opaque

Construction and destruction follows the usual pattern with `mkFlagName`
& `unFlagName` functions.
23 files changed:
Cabal/Distribution/PackageDescription.hs
Cabal/Distribution/PackageDescription/Configuration.hs
Cabal/Distribution/PackageDescription/Parse.hs
Cabal/Distribution/PackageDescription/Parsec.hs
Cabal/Distribution/PackageDescription/PrettyPrint.hs
Cabal/Distribution/Parsec/Class.hs
Cabal/Distribution/Simple/Configure.hs
Cabal/Distribution/Simple/Setup.hs
Cabal/Distribution/Types/GenericPackageDescription.hs
Cabal/changelog
cabal-install/Distribution/Client/BuildReports/Anonymous.hs
cabal-install/Distribution/Client/Dependency.hs
cabal-install/Distribution/Client/Install.hs
cabal-install/Distribution/Client/List.hs
cabal-install/Distribution/Client/PackageHash.hs
cabal-install/Distribution/Client/ProjectOrchestration.hs
cabal-install/Distribution/Client/ProjectPlanOutput.hs
cabal-install/Distribution/Client/Targets.hs
cabal-install/Distribution/Client/World.hs
cabal-install/Distribution/Solver/Modular/Flag.hs
cabal-install/Distribution/Solver/Types/PackageConstraint.hs
cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs
cabal-install/tests/UnitTests/Distribution/Solver/Modular/DSL.hs