plutarch-1.9.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Plutarch.Internal.PlutusType

Synopsis

Documentation

class PlutusType (a :: PType) Source #

Instances

Instances details
PlutusType PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

PlutusType PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

PlutusType PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

PlutusType PBitString Source # 
Instance details

Defined in Plutarch.BitString

Methods

pcon' :: forall (s :: S). PBitString s -> Term s (PInner PBitString) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PBitString) -> (PBitString s -> Term s b) -> Term s b Source #

PlutusType PData Source # 
Instance details

Defined in Plutarch.Builtin

Methods

pcon' :: forall (s :: S). PData s -> Term s (PInner PData) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PData) -> (PData s -> Term s b) -> Term s b Source #

PlutusType PBool Source #

@since WIP

Instance details

Defined in Plutarch.Builtin.Bool

Methods

pcon' :: forall (s :: S). PBool s -> Term s (PInner PBool) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PBool) -> (PBool s -> Term s b) -> Term s b Source #

PlutusType PByte Source # 
Instance details

Defined in Plutarch.ByteString

Methods

pcon' :: forall (s :: S). PByte s -> Term s (PInner PByte) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PByte) -> (PByte s -> Term s b) -> Term s b Source #

PlutusType PByteString Source # 
Instance details

Defined in Plutarch.ByteString

Methods

pcon' :: forall (s :: S). PByteString s -> Term s (PInner PByteString) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PByteString) -> (PByteString s -> Term s b) -> Term s b Source #

PlutusType PLogicOpSemantics Source # 
Instance details

Defined in Plutarch.ByteString

Methods

pcon' :: forall (s :: S). PLogicOpSemantics s -> Term s (PInner PLogicOpSemantics) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PLogicOpSemantics) -> (PLogicOpSemantics s -> Term s b) -> Term s b Source #

PlutusType PEndianness Source # 
Instance details

Defined in Plutarch.Convert

Methods

pcon' :: forall (s :: S). PEndianness s -> Term s (PInner PEndianness) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PEndianness) -> (PEndianness s -> Term s b) -> Term s b Source #

PlutusType PInteger Source # 
Instance details

Defined in Plutarch.Integer

Methods

pcon' :: forall (s :: S). PInteger s -> Term s (PInner PInteger) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PInteger) -> (PInteger s -> Term s b) -> Term s b Source #

PlutusType POpaque Source # 
Instance details

Defined in Plutarch.Internal.Other

Methods

pcon' :: forall (s :: S). POpaque s -> Term s (PInner POpaque) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner POpaque) -> (POpaque s -> Term s b) -> Term s b Source #

PlutusType PPositive Source # 
Instance details

Defined in Plutarch.Positive

Methods

pcon' :: forall (s :: S). PPositive s -> Term s (PInner PPositive) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PPositive) -> (PPositive s -> Term s b) -> Term s b Source #

PlutusType PRational Source # 
Instance details

Defined in Plutarch.Rational

Methods

pcon' :: forall (s :: S). PRational s -> Term s (PInner PRational) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PRational) -> (PRational s -> Term s b) -> Term s b Source #

PlutusType PString Source # 
Instance details

Defined in Plutarch.String

Methods

pcon' :: forall (s :: S). PString s -> Term s (PInner PString) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PString) -> (PString s -> Term s b) -> Term s b Source #

PIsData a => PlutusType (PAsData a) Source # 
Instance details

Defined in Plutarch.Builtin

Associated Types

type PInner (PAsData a) :: PType Source #

type PCovariant' (PAsData a) Source #

type PContravariant' (PAsData a) Source #

type PVariant' (PAsData a) Source #

Methods

pcon' :: forall (s :: S). PAsData a s -> Term s (PInner (PAsData a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PAsData a)) -> (PAsData a s -> Term s b) -> Term s b Source #

Contains DefaultUni (PlutusRepr a) => PlutusType (PBuiltinList a) Source # 
Instance details

Defined in Plutarch.Builtin

Methods

pcon' :: forall (s :: S). PBuiltinList a s -> Term s (PInner (PBuiltinList a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PBuiltinList a)) -> (PBuiltinList a s -> Term s b) -> Term s b Source #

PlutusType (PDataNewtype a) Source #

Since: 1.7.0

Instance details

Defined in Plutarch.Builtin

Methods

pcon' :: forall (s :: S). PDataNewtype a s -> Term s (PInner (PDataNewtype a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PDataNewtype a)) -> (PDataNewtype a s -> Term s b) -> Term s b Source #

SListI l => PlutusType (PDataRecord l) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

Methods

pcon' :: forall (s :: S). PDataRecord l s -> Term s (PInner (PDataRecord l)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PDataRecord l)) -> (PDataRecord l s -> Term s b) -> Term s b Source #

SListI defs => PlutusType (PDataSum defs) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

Associated Types

type PInner (PDataSum defs) :: PType Source #

type PCovariant' (PDataSum defs) Source #

type PContravariant' (PDataSum defs) Source #

type PVariant' (PDataSum defs) Source #

Methods

pcon' :: forall (s :: S). PDataSum defs s -> Term s (PInner (PDataSum defs)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PDataSum defs)) -> (PDataSum defs s -> Term s b) -> Term s b Source #

PlutusType (PTxList a) Source # 
Instance details

Defined in Plutarch.FFI

Associated Types

type PInner (PTxList a) :: PType Source #

type PCovariant' (PTxList a) Source #

type PContravariant' (PTxList a) Source #

type PVariant' (PTxList a) Source #

Methods

pcon' :: forall (s :: S). PTxList a s -> Term s (PInner (PTxList a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PTxList a)) -> (PTxList a s -> Term s b) -> Term s b Source #

PlutusType (PTxMaybe a) Source # 
Instance details

Defined in Plutarch.FFI

Methods

pcon' :: forall (s :: S). PTxMaybe a s -> Term s (PInner (PTxMaybe a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PTxMaybe a)) -> (PTxMaybe a s -> Term s b) -> Term s b Source #

PlutusType (PFix f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

Associated Types

type PInner (PFix f) :: PType Source #

type PCovariant' (PFix f) Source #

type PContravariant' (PFix f) Source #

type PVariant' (PFix f) Source #

Methods

pcon' :: forall (s :: S). PFix f s -> Term s (PInner (PFix f)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PFix f)) -> (PFix f s -> Term s b) -> Term s b Source #

PlutusType (PList a) Source # 
Instance details

Defined in Plutarch.List

Associated Types

type PInner (PList a) :: PType Source #

type PCovariant' (PList a) Source #

type PContravariant' (PList a) Source #

type PVariant' (PList a) Source #

Methods

pcon' :: forall (s :: S). PList a s -> Term s (PInner (PList a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PList a)) -> (PList a s -> Term s b) -> Term s b Source #

PlutusType (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

Associated Types

type PInner (PMaybe a) :: PType Source #

type PCovariant' (PMaybe a) Source #

type PContravariant' (PMaybe a) Source #

type PVariant' (PMaybe a) Source #

Methods

pcon' :: forall (s :: S). PMaybe a s -> Term s (PInner (PMaybe a)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PMaybe a)) -> (PMaybe a s -> Term s b) -> Term s b Source #

PlutusType (PUnit :: S -> Type) Source # 
Instance details

Defined in Plutarch.Unit

Methods

pcon' :: forall (s :: S). PUnit s -> Term s (PInner PUnit) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner PUnit) -> (PUnit s -> Term s b) -> Term s b Source #

PlutusType (PBuiltinPair a b) Source # 
Instance details

Defined in Plutarch.Builtin

Methods

pcon' :: forall (s :: S). PBuiltinPair a b s -> Term s (PInner (PBuiltinPair a b)) Source #

pmatch' :: forall (s :: S) (b0 :: PType). Term s (PInner (PBuiltinPair a b)) -> (PBuiltinPair a b s -> Term s b0) -> Term s b0 Source #

PlutusType (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

Associated Types

type PInner (PEither a b) :: PType Source #

type PCovariant' (PEither a b) Source #

type PContravariant' (PEither a b) Source #

type PVariant' (PEither a b) Source #

Methods

pcon' :: forall (s :: S). PEither a b s -> Term s (PInner (PEither a b)) Source #

pmatch' :: forall (s :: S) (b0 :: PType). Term s (PInner (PEither a b)) -> (PEither a b s -> Term s b0) -> Term s b0 Source #

PlutusType (PEitherData a b) Source #

@since WIP

Instance details

Defined in Plutarch.Either

Methods

pcon' :: forall (s :: S). PEitherData a b s -> Term s (PInner (PEitherData a b)) Source #

pmatch' :: forall (s :: S) (b0 :: PType). Term s (PInner (PEitherData a b)) -> (PEitherData a b s -> Term s b0) -> Term s b0 Source #

PlutusType (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

Methods

pcon' :: forall (s :: S). DeriveBuiltinPLiftable a h s -> Term s (PInner (DeriveBuiltinPLiftable a h)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (DeriveBuiltinPLiftable a h)) -> (DeriveBuiltinPLiftable a h s -> Term s b) -> Term s b Source #

PlutusType (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

Methods

pcon' :: forall (s :: S). DeriveDataPLiftable a h s -> Term s (PInner (DeriveDataPLiftable a h)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (DeriveDataPLiftable a h)) -> (DeriveDataPLiftable a h s -> Term s b) -> Term s b Source #

PlutusType (PForall f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

Associated Types

type PInner (PForall f) :: PType Source #

type PCovariant' (PForall f) Source #

type PContravariant' (PForall f) Source #

type PVariant' (PForall f) Source #

Methods

pcon' :: forall (s :: S). PForall f s -> Term s (PInner (PForall f)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PForall f)) -> (PForall f s -> Term s b) -> Term s b Source #

PlutusType (PSome f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

Associated Types

type PInner (PSome f) :: PType Source #

type PCovariant' (PSome f) Source #

type PContravariant' (PSome f) Source #

type PVariant' (PSome f) Source #

Methods

pcon' :: forall (s :: S). PSome f s -> Term s (PInner (PSome f)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PSome f)) -> (PSome f s -> Term s b) -> Term s b Source #

PlutusType (PScottEncoded a r) Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

Methods

pcon' :: forall (s :: S). PScottEncoded a r s -> Term s (PInner (PScottEncoded a r)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (PScottEncoded a r)) -> (PScottEncoded a r s -> Term s b) -> Term s b Source #

PlutusType (a :--> b) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

Associated Types

type PInner (a :--> b) :: PType Source #

type PCovariant' (a :--> b) Source #

type PContravariant' (a :--> b) Source #

type PVariant' (a :--> b) Source #

Methods

pcon' :: forall (s :: S). (a :--> b) s -> Term s (PInner (a :--> b)) Source #

pmatch' :: forall (s :: S) (b0 :: PType). Term s (PInner (a :--> b)) -> ((a :--> b) s -> Term s b0) -> Term s b0 Source #

PlutusType (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

Associated Types

type PInner (PPair a b) :: PType Source #

type PCovariant' (PPair a b) Source #

type PContravariant' (PPair a b) Source #

type PVariant' (PPair a b) Source #

Methods

pcon' :: forall (s :: S). PPair a b s -> Term s (PInner (PPair a b)) Source #

pmatch' :: forall (s :: S) (b0 :: PType). Term s (PInner (PPair a b)) -> (PPair a b s -> Term s b0) -> Term s b0 Source #

PlutusType (DeriveNewtypePLiftable wrapper inner h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

Associated Types

type PInner (DeriveNewtypePLiftable wrapper inner h) :: PType Source #

type PCovariant' (DeriveNewtypePLiftable wrapper inner h) Source #

type PContravariant' (DeriveNewtypePLiftable wrapper inner h) Source #

type PVariant' (DeriveNewtypePLiftable wrapper inner h) Source #

Methods

pcon' :: forall (s :: S). DeriveNewtypePLiftable wrapper inner h s -> Term s (PInner (DeriveNewtypePLiftable wrapper inner h)) Source #

pmatch' :: forall (s :: S) (b :: PType). Term s (PInner (DeriveNewtypePLiftable wrapper inner h)) -> (DeriveNewtypePLiftable wrapper inner h s -> Term s b) -> Term s b Source #

type PCon = PlutusType Source #

Deprecated: Use PlutusType

type PMatch = PlutusType Source #

Deprecated: Use PlutusType

pcon' :: forall s. PlutusType a => a s -> Term s (PInner a) Source #

pmatch' :: forall s b. PlutusType a => Term s (PInner a) -> (a s -> Term s b) -> Term s b Source #

pmatch :: PlutusType a => Term s a -> (a s -> Term s b) -> Term s b Source #

Pattern match over Plutarch Terms via a Haskell datatype

pcon :: PlutusType a => a s -> Term s a Source #

Construct a Plutarch Term via a Haskell datatype

type family PInner a :: PType Source #

Instances

Instances details
type PInner PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

type PInner PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

type PInner PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

type PInner PBitString Source #

@since WIP

Instance details

Defined in Plutarch.BitString

type PInner PData Source # 
Instance details

Defined in Plutarch.Builtin

type PInner PBool Source # 
Instance details

Defined in Plutarch.Builtin.Bool

type PInner PByte Source #

@since WIP

Instance details

Defined in Plutarch.ByteString

type PInner PByteString Source # 
Instance details

Defined in Plutarch.ByteString

type PInner PLogicOpSemantics Source #

@since WIP

Instance details

Defined in Plutarch.ByteString

type PInner PEndianness Source #

@since WIP

Instance details

Defined in Plutarch.Convert

type PInner PInteger Source # 
Instance details

Defined in Plutarch.Integer

type PInner POpaque Source # 
Instance details

Defined in Plutarch.Internal.Other

type PInner PPositive Source # 
Instance details

Defined in Plutarch.Positive

type PInner PRational Source # 
Instance details

Defined in Plutarch.Rational

type PInner PString Source # 
Instance details

Defined in Plutarch.String

type PInner (PAsData a) Source # 
Instance details

Defined in Plutarch.Builtin

type PInner (PAsData a)
type PInner (PBuiltinList a) Source # 
Instance details

Defined in Plutarch.Builtin

type PInner (PDataNewtype a) Source # 
Instance details

Defined in Plutarch.Builtin

type PInner (PDataRecord l) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PInner (PDataSum defs) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PInner (PDataSum defs) = PData
type PInner (PTxList a) Source # 
Instance details

Defined in Plutarch.FFI

type PInner (PTxList a)
type PInner (PTxMaybe a) Source # 
Instance details

Defined in Plutarch.FFI

type PInner (PTxMaybe a)
type PInner (PFix f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PInner (PFix f) = f (PFix f)
type PInner (PList a) Source # 
Instance details

Defined in Plutarch.List

type PInner (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

type PInner (PUnit :: S -> Type) Source # 
Instance details

Defined in Plutarch.Unit

type PInner (PUnit :: S -> Type) = PUnit :: S -> Type
type PInner (PBuiltinPair a b) Source # 
Instance details

Defined in Plutarch.Builtin

type PInner (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

type PInner (PEither a b) = DerivedPInner (DPTStrat (PEither a b)) (PEither a b)
type PInner (PEitherData a b) Source # 
Instance details

Defined in Plutarch.Either

type PInner (PEitherData a b) = PData
type PInner (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PInner (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PInner (PForall f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PInner (PForall f) = PForall f
type PInner (PSome f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PInner (PSome f) = PSome f
type PInner (PScottEncoded a r) Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

type PInner (a :--> b) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PInner (a :--> b) = a :--> b
type PInner (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

type PInner (PPair a b) = DerivedPInner (DPTStrat (PPair a b)) (PPair a b)
type PInner (DeriveNewtypePLiftable wrapper inner h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PInner (DeriveNewtypePLiftable wrapper inner h) = DerivedPInner (DPTStrat (DeriveNewtypePLiftable wrapper inner h)) (DeriveNewtypePLiftable wrapper inner h)

class PlutusTypeStrat (strategy :: Type) Source #

Minimal complete definition

derivedPCon, derivedPMatch

Instances

Instances details
PlutusTypeStrat PlutusTypeData Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

Methods

derivedPCon :: forall a (s :: S). (DerivePlutusType a, DPTStrat a ~ PlutusTypeData) => a s -> Term s (DerivedPInner PlutusTypeData a) Source #

derivedPMatch :: forall a (s :: S) (b :: PType). (DerivePlutusType a, DPTStrat a ~ PlutusTypeData) => Term s (DerivedPInner PlutusTypeData a) -> (a s -> Term s b) -> Term s b Source #

PlutusTypeStrat PlutusTypeNewtype Source # 
Instance details

Defined in Plutarch.Internal.Newtype

Methods

derivedPCon :: forall a (s :: S). (DerivePlutusType a, DPTStrat a ~ PlutusTypeNewtype) => a s -> Term s (DerivedPInner PlutusTypeNewtype a) Source #

derivedPMatch :: forall a (s :: S) (b :: PType). (DerivePlutusType a, DPTStrat a ~ PlutusTypeNewtype) => Term s (DerivedPInner PlutusTypeNewtype a) -> (a s -> Term s b) -> Term s b Source #

PlutusTypeStrat PlutusTypeScott Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

Methods

derivedPCon :: forall a (s :: S). (DerivePlutusType a, DPTStrat a ~ PlutusTypeScott) => a s -> Term s (DerivedPInner PlutusTypeScott a) Source #

derivedPMatch :: forall a (s :: S) (b :: PType). (DerivePlutusType a, DPTStrat a ~ PlutusTypeScott) => Term s (DerivedPInner PlutusTypeScott a) -> (a s -> Term s b) -> Term s b Source #

class (PInner a ~ DerivedPInner (DPTStrat a) a, PlutusTypeStrat (DPTStrat a), PlutusTypeStratConstraint (DPTStrat a) a, PlutusType a) => DerivePlutusType (a :: PType) Source #

Instances

Instances details
DerivePlutusType PBuiltinBLS12_381_G1_Element Source #

Since: 1.9.0

Instance details

Defined in Plutarch.BLS

DerivePlutusType PBuiltinBLS12_381_G2_Element Source #

Since: 1.9.0

Instance details

Defined in Plutarch.BLS

DerivePlutusType PBuiltinBLS12_381_MlResult Source #

Since: 1.9.0

Instance details

Defined in Plutarch.BLS

DerivePlutusType PBitString Source #

@since WIP

Instance details

Defined in Plutarch.BitString

Associated Types

type DPTStrat PBitString Source #

DerivePlutusType PByte Source #

@since WIP

Instance details

Defined in Plutarch.ByteString

Associated Types

type DPTStrat PByte Source #

DerivePlutusType PByteString Source # 
Instance details

Defined in Plutarch.ByteString

Associated Types

type DPTStrat PByteString Source #

DerivePlutusType PLogicOpSemantics Source #

@since WIP

Instance details

Defined in Plutarch.ByteString

Associated Types

type DPTStrat PLogicOpSemantics Source #

DerivePlutusType PEndianness Source #

@since WIP

Instance details

Defined in Plutarch.Convert

Associated Types

type DPTStrat PEndianness Source #

DerivePlutusType PInteger Source # 
Instance details

Defined in Plutarch.Integer

Associated Types

type DPTStrat PInteger Source #

DerivePlutusType PPositive Source # 
Instance details

Defined in Plutarch.Positive

Associated Types

type DPTStrat PPositive Source #

DerivePlutusType PRational Source # 
Instance details

Defined in Plutarch.Rational

Associated Types

type DPTStrat PRational Source #

DerivePlutusType PString Source # 
Instance details

Defined in Plutarch.String

Associated Types

type DPTStrat PString Source #

DerivePlutusType (PList a) Source # 
Instance details

Defined in Plutarch.List

Associated Types

type DPTStrat (PList a) Source #

DerivePlutusType (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

Associated Types

type DPTStrat (PMaybe a) Source #

DerivePlutusType (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

Associated Types

type DPTStrat (PEither a b) Source #

DerivePlutusType (DeriveBuiltinPLiftable a h) Source #

@since WIP

Instance details

Defined in Plutarch.Internal.Lift

Associated Types

type DPTStrat (DeriveBuiltinPLiftable a h) Source #

DerivePlutusType (DeriveDataPLiftable a h) Source #

@since WIP

Instance details

Defined in Plutarch.Internal.Lift

Associated Types

type DPTStrat (DeriveDataPLiftable a h) Source #

DerivePlutusType (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

Associated Types

type DPTStrat (PPair a b) Source #

DerivePlutusType (DeriveNewtypePLiftable w i h) Source #

@since WIP

Instance details

Defined in Plutarch.Internal.Lift

Associated Types

type DPTStrat (DeriveNewtypePLiftable w i h) Source #

type family DPTStrat a :: Type Source #

Instances

Instances details
type DPTStrat PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

type DPTStrat PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

type DPTStrat PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

type DPTStrat PBitString Source # 
Instance details

Defined in Plutarch.BitString

type DPTStrat PByte Source # 
Instance details

Defined in Plutarch.ByteString

type DPTStrat PByteString Source # 
Instance details

Defined in Plutarch.ByteString

type DPTStrat PLogicOpSemantics Source # 
Instance details

Defined in Plutarch.ByteString

type DPTStrat PEndianness Source # 
Instance details

Defined in Plutarch.Convert

type DPTStrat PInteger Source # 
Instance details

Defined in Plutarch.Integer

type DPTStrat PPositive Source # 
Instance details

Defined in Plutarch.Positive

type DPTStrat PRational Source # 
Instance details

Defined in Plutarch.Rational

type DPTStrat PString Source # 
Instance details

Defined in Plutarch.String

type DPTStrat (PList a) Source # 
Instance details

Defined in Plutarch.List

type DPTStrat (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

type DPTStrat (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

type DPTStrat (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type DPTStrat (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type DPTStrat (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

type DPTStrat (DeriveNewtypePLiftable w i h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type family DerivedPInner strategy (a :: PType) :: PType Source #

derivedPCon :: forall a s. (PlutusTypeStrat strategy, DerivePlutusType a, DPTStrat a ~ strategy) => a s -> Term s (DerivedPInner strategy a) Source #

derivedPMatch :: forall a s b. (PlutusTypeStrat strategy, DerivePlutusType a, DPTStrat a ~ strategy) => Term s (DerivedPInner strategy a) -> (a s -> Term s b) -> Term s b Source #

class (forall t. PVariant'' t => PVariant'' (a t)) => PVariant a Source #

Instances

Instances details
(forall (t :: PType). PVariant'' t => PVariant'' (a t)) => PVariant a Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

class (forall t. PCovariant'' t => PCovariant'' (a t)) => PCovariant a Source #

Instances

Instances details
(forall (t :: PType). PCovariant'' t => PCovariant'' (a t)) => PCovariant a Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

class (forall t. PCovariant'' t => PContravariant'' (a t)) => PContravariant a Source #

Instances

Instances details
(forall (t :: PType). PCovariant'' t => PContravariant'' (a t)) => PContravariant a Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type family PVariant' a :: Constraint Source #

Instances

Instances details
type PVariant' PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

type PVariant' PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

type PVariant' PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

type PVariant' PBitString Source # 
Instance details

Defined in Plutarch.BitString

type PVariant' PData Source # 
Instance details

Defined in Plutarch.Builtin

type PVariant' PData = ()
type PVariant' PBool Source # 
Instance details

Defined in Plutarch.Builtin.Bool

type PVariant' PByte Source # 
Instance details

Defined in Plutarch.ByteString

type PVariant' PByteString Source # 
Instance details

Defined in Plutarch.ByteString

type PVariant' PLogicOpSemantics Source # 
Instance details

Defined in Plutarch.ByteString

type PVariant' PEndianness Source # 
Instance details

Defined in Plutarch.Convert

type PVariant' PInteger Source # 
Instance details

Defined in Plutarch.Integer

type PVariant' POpaque Source # 
Instance details

Defined in Plutarch.Internal.Other

type PVariant' POpaque = ()
type PVariant' PPositive Source # 
Instance details

Defined in Plutarch.Positive

type PVariant' PRational Source # 
Instance details

Defined in Plutarch.Rational

type PVariant' PString Source # 
Instance details

Defined in Plutarch.String

type PVariant' (PAsData a) Source # 
Instance details

Defined in Plutarch.Builtin

type PVariant' (PBuiltinList a) Source # 
Instance details

Defined in Plutarch.Builtin

type PVariant' (PDataNewtype a) Source # 
Instance details

Defined in Plutarch.Builtin

type PVariant' (PDataRecord l) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PVariant' (PDataSum defs) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PVariant' (PDataSum defs)
type PVariant' (PTxList a) Source # 
Instance details

Defined in Plutarch.FFI

type PVariant' (PTxMaybe a) Source # 
Instance details

Defined in Plutarch.FFI

type PVariant' (PFix f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PVariant' (PFix f)
type PVariant' (PList a) Source # 
Instance details

Defined in Plutarch.List

type PVariant' (PList a)
type PVariant' (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

type PVariant' (PMaybe a)
type PVariant' (PUnit :: S -> Type) Source # 
Instance details

Defined in Plutarch.Unit

type PVariant' (PUnit :: S -> Type)
type PVariant' (PBuiltinPair a b) Source # 
Instance details

Defined in Plutarch.Builtin

type PVariant' (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

type PVariant' (PEither a b)
type PVariant' (PEitherData a b) Source # 
Instance details

Defined in Plutarch.Either

type PVariant' (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PVariant' (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PVariant' (PForall f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PVariant' (PSome f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PVariant' (PSome f)
type PVariant' (PScottEncoded a r) Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

type PVariant' (a :--> b) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PVariant' (a :--> b) = (PVariant' a, PVariant' b)
type PVariant' (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

type PVariant' (PPair a b)
type PVariant' (DeriveNewtypePLiftable wrapper inner h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PVariant' (DeriveNewtypePLiftable wrapper inner h)

type family PCovariant' a :: Constraint Source #

Instances

Instances details
type PCovariant' PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

type PCovariant' PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

type PCovariant' PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

type PCovariant' PBitString Source # 
Instance details

Defined in Plutarch.BitString

type PCovariant' PData Source # 
Instance details

Defined in Plutarch.Builtin

type PCovariant' PData = ()
type PCovariant' PBool Source # 
Instance details

Defined in Plutarch.Builtin.Bool

type PCovariant' PByte Source # 
Instance details

Defined in Plutarch.ByteString

type PCovariant' PByteString Source # 
Instance details

Defined in Plutarch.ByteString

type PCovariant' PLogicOpSemantics Source # 
Instance details

Defined in Plutarch.ByteString

type PCovariant' PEndianness Source # 
Instance details

Defined in Plutarch.Convert

type PCovariant' PInteger Source # 
Instance details

Defined in Plutarch.Integer

type PCovariant' POpaque Source # 
Instance details

Defined in Plutarch.Internal.Other

type PCovariant' PPositive Source # 
Instance details

Defined in Plutarch.Positive

type PCovariant' PRational Source # 
Instance details

Defined in Plutarch.Rational

type PCovariant' PString Source # 
Instance details

Defined in Plutarch.String

type PCovariant' (PAsData a) Source # 
Instance details

Defined in Plutarch.Builtin

type PCovariant' (PBuiltinList a) Source # 
Instance details

Defined in Plutarch.Builtin

type PCovariant' (PDataNewtype a) Source # 
Instance details

Defined in Plutarch.Builtin

type PCovariant' (PDataRecord l) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PCovariant' (PDataSum defs) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PCovariant' (PDataSum defs)
type PCovariant' (PTxList a) Source # 
Instance details

Defined in Plutarch.FFI

type PCovariant' (PTxMaybe a) Source # 
Instance details

Defined in Plutarch.FFI

type PCovariant' (PFix f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PCovariant' (PFix f)
type PCovariant' (PList a) Source # 
Instance details

Defined in Plutarch.List

type PCovariant' (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

type PCovariant' (PUnit :: S -> Type) Source # 
Instance details

Defined in Plutarch.Unit

type PCovariant' (PUnit :: S -> Type)
type PCovariant' (PBuiltinPair a b) Source # 
Instance details

Defined in Plutarch.Builtin

type PCovariant' (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

type PCovariant' (PEither a b)
type PCovariant' (PEitherData a b) Source # 
Instance details

Defined in Plutarch.Either

type PCovariant' (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PCovariant' (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PCovariant' (PForall f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PCovariant' (PSome f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PCovariant' (PScottEncoded a r) Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

type PCovariant' (a :--> b) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PCovariant' (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

type PCovariant' (PPair a b)
type PCovariant' (DeriveNewtypePLiftable wrapper inner h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PCovariant' (DeriveNewtypePLiftable wrapper inner h)

type family PContravariant' a :: Constraint Source #

Instances

Instances details
type PContravariant' PBuiltinBLS12_381_G1_Element Source # 
Instance details

Defined in Plutarch.BLS

type PContravariant' PBuiltinBLS12_381_G2_Element Source # 
Instance details

Defined in Plutarch.BLS

type PContravariant' PBuiltinBLS12_381_MlResult Source # 
Instance details

Defined in Plutarch.BLS

type PContravariant' PBitString Source # 
Instance details

Defined in Plutarch.BitString

type PContravariant' PData Source # 
Instance details

Defined in Plutarch.Builtin

type PContravariant' PBool Source # 
Instance details

Defined in Plutarch.Builtin.Bool

type PContravariant' PByte Source # 
Instance details

Defined in Plutarch.ByteString

type PContravariant' PByteString Source # 
Instance details

Defined in Plutarch.ByteString

type PContravariant' PLogicOpSemantics Source # 
Instance details

Defined in Plutarch.ByteString

type PContravariant' PEndianness Source # 
Instance details

Defined in Plutarch.Convert

type PContravariant' PInteger Source # 
Instance details

Defined in Plutarch.Integer

type PContravariant' POpaque Source # 
Instance details

Defined in Plutarch.Internal.Other

type PContravariant' PPositive Source # 
Instance details

Defined in Plutarch.Positive

type PContravariant' PRational Source # 
Instance details

Defined in Plutarch.Rational

type PContravariant' PString Source # 
Instance details

Defined in Plutarch.String

type PContravariant' (PAsData a) Source # 
Instance details

Defined in Plutarch.Builtin

type PContravariant' (PBuiltinList a) Source # 
Instance details

Defined in Plutarch.Builtin

type PContravariant' (PDataNewtype a) Source # 
Instance details

Defined in Plutarch.Builtin

type PContravariant' (PDataRecord l) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PContravariant' (PDataSum defs) Source # 
Instance details

Defined in Plutarch.DataRepr.Internal

type PContravariant' (PTxList a) Source # 
Instance details

Defined in Plutarch.FFI

type PContravariant' (PTxMaybe a) Source # 
Instance details

Defined in Plutarch.FFI

type PContravariant' (PFix f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PContravariant' (PList a) Source # 
Instance details

Defined in Plutarch.List

type PContravariant' (PMaybe a) Source # 
Instance details

Defined in Plutarch.Maybe

type PContravariant' (PUnit :: S -> Type) Source # 
Instance details

Defined in Plutarch.Unit

type PContravariant' (PBuiltinPair a b) Source # 
Instance details

Defined in Plutarch.Builtin

type PContravariant' (PEither a b) Source # 
Instance details

Defined in Plutarch.Either

type PContravariant' (PEitherData a b) Source # 
Instance details

Defined in Plutarch.Either

type PContravariant' (DeriveBuiltinPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PContravariant' (DeriveDataPLiftable a h) Source # 
Instance details

Defined in Plutarch.Internal.Lift

type PContravariant' (PForall f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PContravariant' (PSome f) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PContravariant' (PScottEncoded a r) Source # 
Instance details

Defined in Plutarch.Internal.ScottEncoding

type PContravariant' (a :--> b) Source # 
Instance details

Defined in Plutarch.Internal.PlutusType

type PContravariant' (PPair a b) Source # 
Instance details

Defined in Plutarch.Pair

type PContravariant' (DeriveNewtypePLiftable wrapper inner h) Source # 
Instance details

Defined in Plutarch.Internal.Lift