Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Mixin = Mixin {}
- mkMixin :: PackageName -> LibraryName -> IncludeRenaming -> Mixin
- normaliseMixin :: Mixin -> Mixin
Documentation
Invariant: if mixinLibraryName
is LSubLibName
, it's not
the same as mixinPackageName
. In other words,
the same invariant as Dependency
has.
Instances
Eq Mixin Source # | |
Data Mixin Source # | |
Defined in Distribution.Types.Mixin gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Mixin -> c Mixin # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mixin # dataTypeOf :: Mixin -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Mixin) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mixin) # gmapT :: (forall b. Data b => b -> b) -> Mixin -> Mixin # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mixin -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mixin -> r # gmapQ :: (forall d. Data d => d -> u) -> Mixin -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Mixin -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin # | |
Ord Mixin Source # | |
Read Mixin Source # | |
Show Mixin Source # | |
Generic Mixin Source # | |
Binary Mixin Source # | |
NFData Mixin Source # | |
Defined in Distribution.Types.Mixin | |
Structured Mixin Source # | |
Defined in Distribution.Types.Mixin | |
Pretty Mixin Source # | |
Defined in Distribution.Types.Mixin | |
Parsec Mixin Source # |
Sublibrary syntax is accepted since
|
Defined in Distribution.Types.Mixin parsec :: CabalParsing m => m Mixin Source # | |
type Rep Mixin Source # | |
Defined in Distribution.Types.Mixin type Rep Mixin = D1 ('MetaData "Mixin" "Distribution.Types.Mixin" "Cabal-3.4.0.0-87V2bvTScjS3xdojmsQSEW" 'False) (C1 ('MetaCons "Mixin" 'PrefixI 'True) (S1 ('MetaSel ('Just "mixinPackageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PackageName) :*: (S1 ('MetaSel ('Just "mixinLibraryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibraryName) :*: S1 ('MetaSel ('Just "mixinIncludeRenaming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IncludeRenaming)))) |
mkMixin :: PackageName -> LibraryName -> IncludeRenaming -> Mixin Source #
Smart constructor of Mixin
, enforces invariant.
Since: 3.4.0.0
normaliseMixin :: Mixin -> Mixin Source #
Restore invariant