Safe Haskell | Safe-Inferred |
---|---|
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
Parsec Mixin Source # |
Sublibrary syntax is accepted since
|
Defined in Distribution.Types.Mixin parsec :: CabalParsing m => m Mixin Source # | |
Pretty Mixin Source # | |
Defined in Distribution.Types.Mixin | |
Structured Mixin Source # | |
Defined in Distribution.Types.Mixin | |
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 Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Mixin Source # toConstr :: Mixin -> Constr Source # dataTypeOf :: Mixin -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Mixin) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Mixin) Source # gmapT :: (forall b. Data b => b -> b) -> Mixin -> Mixin Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Mixin -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Mixin -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Mixin -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Mixin -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Mixin -> m Mixin Source # | |
Generic Mixin Source # | |
Read Mixin Source # | |
Show Mixin Source # | |
Binary Mixin Source # | |
NFData Mixin Source # | |
Defined in Distribution.Types.Mixin | |
Eq Mixin Source # | |
Ord Mixin Source # | |
type Rep Mixin Source # | |
Defined in Distribution.Types.Mixin type Rep Mixin = D1 ('MetaData "Mixin" "Distribution.Types.Mixin" "Cabal-syntax-3.7.0.0" '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: Cabal-syntax-3.4.0.0
normaliseMixin :: Mixin -> Mixin Source #
Restore invariant