| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusTx.Blueprint.Definition.TF
Synopsis
- type family IfStuckUnroll (e :: [Type]) (t :: [Type]) :: [Type] where ...
- type family IfStuckRep (e :: Type -> Type) (rep :: Type -> Type) :: Type -> Type where ...
- type family Insert (x :: k) (xs :: [k]) :: [k] where ...
- type family Concat (as :: [k]) (bs :: [k]) :: [k] where ...
- type family (as :: [k]) ++ (bs :: [k]) :: [k] where ...
- type family Reverse (xs :: [k]) :: [k] where ...
- type family Append (xs :: [k]) (ys :: [k]) :: [k] where ...
- type family Nub (xs :: [k]) :: [k] where ...
- type family NubHelper (acc :: [k]) (xs :: [k]) :: [k] where ...
Documentation
type family IfStuckUnroll (e :: [Type]) (t :: [Type]) :: [Type] where ... Source #
Equations
| IfStuckUnroll _1 ('[] :: [Type]) = '[] :: [Type] | |
| IfStuckUnroll _1 (x ': xs) = x ': xs | |
| IfStuckUnroll e _1 = e |
type family IfStuckRep (e :: Type -> Type) (rep :: Type -> Type) :: Type -> Type where ... Source #
Equations
| IfStuckRep _1 (M1 a b c) = M1 a b c | |
| IfStuckRep _1 (f :*: g) = f :*: g | |
| IfStuckRep _1 (f :+: g) = f :+: g | |
| IfStuckRep _1 (K1 a b :: Type -> Type) = K1 a b :: Type -> Type | |
| IfStuckRep e (U1 :: Type -> Type) = U1 :: Type -> Type | |
| IfStuckRep e x = e |
type family Insert (x :: k) (xs :: [k]) :: [k] where ... Source #
Insert x into xs unless it's already there.
type family Concat (as :: [k]) (bs :: [k]) :: [k] where ... Source #
Concatenates two type-level lists
type family (as :: [k]) ++ (bs :: [k]) :: [k] where ... infixr 5 Source #
Concatenates two type-level lists removing duplicates.