Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype PDataStruct (struct :: [[S -> Type]]) (s :: S) = PDataStruct {
- unPDataStruct :: PStruct struct s
- newtype PDataRec (struct :: [S -> Type]) (s :: S) = PDataRec {
- unPDataRec :: PRec struct s
- newtype DeriveAsDataRec (a :: S -> Type) s = DeriveAsDataRec {
- unDeriveAsDataRec :: a s
- newtype DeriveAsDataStruct (a :: S -> Type) s = DeriveAsDataStruct {
- unDeriveAsDataStruct :: a s
Documentation
newtype PDataStruct (struct :: [[S -> Type]]) (s :: S) Source #
@since WIP
PDataStruct | |
|
Instances
newtype PDataRec (struct :: [S -> Type]) (s :: S) Source #
@since WIP
PDataRec | |
|
Instances
PEq (PDataRec struct) Source # | @since WIP |
PIsData (PDataRec struct) Source # | @since WIP |
(SListI struct, All PIsData struct) => PlutusType (PDataRec struct) Source # | @since WIP |
Defined in Plutarch.Repr.Data | |
type PContravariant' (PDataRec struct) Source # | |
Defined in Plutarch.Repr.Data | |
type PCovariant' (PDataRec struct) Source # | |
Defined in Plutarch.Repr.Data | |
type PInner (PDataRec struct) Source # | |
Defined in Plutarch.Repr.Data | |
type PVariant' (PDataRec struct) Source # | |
Defined in Plutarch.Repr.Data |
newtype DeriveAsDataRec (a :: S -> Type) s Source #
@since WIP
DeriveAsDataRec | |
|
Instances
newtype DeriveAsDataStruct (a :: S -> Type) s Source #
@since WIP
Instances
(Generic (a (Any :: S)), struct ~ UnTermStruct (a (Any :: S)), All2 PIsData struct, SListI2 struct, forall (s :: S). StructSameRepr s a struct) => PlutusType (DeriveAsDataStruct a) Source # | @since WIP |
Defined in Plutarch.Repr.Data type PInner (DeriveAsDataStruct a) :: PType Source # type PCovariant' (DeriveAsDataStruct a) Source # type PContravariant' (DeriveAsDataStruct a) Source # type PVariant' (DeriveAsDataStruct a) Source # pcon' :: forall (s :: S). DeriveAsDataStruct a s -> Term s (PInner (DeriveAsDataStruct a)) Source # pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (DeriveAsDataStruct a)) -> (DeriveAsDataStruct a s -> Term s b) -> Term s b Source # | |
type PContravariant' (DeriveAsDataStruct a) Source # | |
Defined in Plutarch.Repr.Data | |
type PCovariant' (DeriveAsDataStruct a) Source # | |
Defined in Plutarch.Repr.Data | |
type PInner (DeriveAsDataStruct a) Source # | |
Defined in Plutarch.Repr.Data | |
type PVariant' (DeriveAsDataStruct a) Source # | |
Defined in Plutarch.Repr.Data |