| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Generics.Kind.Examples
Contents
Documentation
Instances
| Generic (Tree a) # | |
| GenericK (Tree a :: Type) LoT0 # | |
| GenericK Tree (a :&&: LoT0 :: LoT (Type -> Type)) # | |
| type Rep (Tree a) # | |
Defined in Generics.Kind.Examples type Rep (Tree a) = D1 (MetaData "Tree" "Generics.Kind.Examples" "kind-generics-0.3.0.0-Laoknq7ZzM0L0KOt6edhQd" False) (C1 (MetaCons "Branch" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Tree a)) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Tree a))) :+: C1 (MetaCons "Leaf" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a))) | |
| type RepK (Tree a :: Type) # | |
| type RepK Tree # | |
data family HappyFamily t #
Instances
data SimpleIndex :: * -> * -> * where #
Constructors
| MkSimpleIndex :: [a] -> SimpleIndex [a] b |
Instances
| GenericK (SimpleIndex a b :: Type) LoT0 # | |
Defined in Generics.Kind.Examples Associated Types type RepK (SimpleIndex a b) :: LoT k -> Type # Methods fromK :: (SimpleIndex a b :@@: LoT0) -> RepK (SimpleIndex a b) LoT0 # toK :: RepK (SimpleIndex a b) LoT0 -> SimpleIndex a b :@@: LoT0 # | |
| GenericK SimpleIndex (a :&&: (b :&&: LoT0) :: LoT (Type -> Type -> Type)) # | |
Defined in Generics.Kind.Examples Associated Types type RepK SimpleIndex :: LoT k -> Type # | |
| GenericK (SimpleIndex a :: Type -> Type) (b :&&: LoT0 :: LoT (Type -> Type)) # | |
Defined in Generics.Kind.Examples Associated Types type RepK (SimpleIndex a) :: LoT k -> Type # Methods fromK :: (SimpleIndex a :@@: (b :&&: LoT0)) -> RepK (SimpleIndex a) (b :&&: LoT0) # toK :: RepK (SimpleIndex a) (b :&&: LoT0) -> SimpleIndex a :@@: (b :&&: LoT0) # | |
| type RepK (SimpleIndex a b :: Type) # | |
| type RepK SimpleIndex # | |
| type RepK (SimpleIndex a :: Type -> Type) # | |
Constructors
| WeirdBranch :: WeirdTree a -> WeirdTree a -> WeirdTree a | |
| WeirdLeaf :: Show a => t -> a -> WeirdTree a |
Instances
| GenericK WeirdTree (a :&&: LoT0 :: LoT (Type -> Type)) # | |
| type RepK WeirdTree # | |
Defined in Generics.Kind.Examples type RepK WeirdTree = (Field (WeirdTree :$: (Var0 :: Atom (Type -> Type) Type)) :*: Field (WeirdTree :$: (Var0 :: Atom (Type -> Type) Type))) :+: Exists Type ((Show :$: (Var1 :: Atom (Type -> Type -> Type) Type)) :=>: (Field (Var0 :: Atom (Type -> Type -> Type) Type) :*: Field (Var1 :: Atom (Type -> Type -> Type) Type))) | |
data WeirdTreeR a where #
Constructors
| WeirdBranchR :: WeirdTreeR a -> WeirdTreeR a -> WeirdTreeR a | |
| WeirdLeafR :: (Show a, Eq t, Typeable t) => t -> a -> WeirdTreeR a |
Instances
Constructors
| MkRanky2 ((forall a. a -> a) -> b) |
Constructors
| MkUnboxed1 (#Int, Int#) |