Safe Haskell | None |
---|---|
Language | Haskell2010 |
Distribution.Backpack.ModuleShape
Contents
Module shapes
data ModuleShape #
A ModuleShape
describes the provisions and requirements of
a library. We can extract a ModuleShape
from an
InstalledPackageInfo
.
Constructors
ModuleShape | |
Fields |
Instances
Eq ModuleShape # | |
Show ModuleShape # | |
Methods showsPrec :: Int -> ModuleShape -> ShowS # show :: ModuleShape -> String # showList :: [ModuleShape] -> ShowS # | |
Generic ModuleShape # | |
Associated Types type Rep ModuleShape :: * -> * # | |
Binary ModuleShape # | |
ModSubst ModuleShape # | |
Methods modSubst :: OpenModuleSubst -> ModuleShape -> ModuleShape # | |
type Rep ModuleShape # | |
type Rep ModuleShape = D1 (MetaData "ModuleShape" "Distribution.Backpack.ModuleShape" "Cabal-2.2.0.1-JS0vobxWxH7sbYKd0omMO" 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)))) |
emptyModuleShape :: ModuleShape #
The default module shape, with no provisions and no requirements.