A ModuleShape describes the provisions and requirements of a library. We can extract a ModuleShape from an InstalledPackageInfo.
Constructors
Instances7Eq, Show, Generic, Binary, Structured, ModSubst, …
Eq ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapeShow ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapeGeneric ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapeBinary ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapeStructured ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapeModSubst ModuleShapeDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShapetype Rep ModuleShape = D1 ('MetaDataDefined in Cabal-3.12.1.0 · Distribution.Backpack.ModuleShape"ModuleShape"
"Distribution.Backpack.ModuleShape"
"Cabal-3.12.1.0-fc60"
'False) (C1 ('MetaCons"ModuleShape"
'PrefixI 'True) (S1 ('MetaSel ('Just"modShapeProvides"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpenModuleSubst) :*: S1 ('MetaSel ('Just"modShapeRequires"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set ModuleName))))