Cabal-2.1.0.0: A framework for packaging Haskell software

Safe HaskellNone
LanguageHaskell2010

Distribution.Backpack.ModuleShape

Contents

Description

Synopsis

Module shapes

data ModuleShape Source #

A ModuleShape describes the provisions and requirements of a library. We can extract a ModuleShape from an InstalledPackageInfo.

Instances
Eq ModuleShape # 
Instance details
Show ModuleShape # 
Instance details
Generic ModuleShape # 
Instance details

Associated Types

type Rep ModuleShape :: * -> * Source #

Binary ModuleShape # 
Instance details
ModSubst ModuleShape # 
Instance details
type Rep ModuleShape # 
Instance details
type Rep ModuleShape = D1 (MetaData "ModuleShape" "Distribution.Backpack.ModuleShape" "Cabal-2.1.0.0" 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 Source #

The default module shape, with no provisions and no requirements.