plutus-core-1.0.0.1: Language library for Plutus Core
Safe Haskell None
Language Haskell2010

PlutusCore.Data

Synopsis

Documentation

data Data Source #

A generic "data" type.

The main constructor Constr represents a datatype value in sum-of-products form: Constr i args represents a use of the i th constructor along with its arguments.

The other constructors are various primitives.

Instances

Instances details
Eq Data Source #
Instance details

Defined in PlutusCore.Data

Data Data Source #
Instance details

Defined in PlutusCore.Data

Methods

gfoldl :: ( forall d b. Data0 d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Data -> c Data Source #

gunfold :: ( forall b r. Data0 b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Data Source #

toConstr :: Data -> Constr Source #

dataTypeOf :: Data -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data0 d => c (t d)) -> Maybe (c Data ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data0 d, Data0 e) => c (t d e)) -> Maybe (c Data ) Source #

gmapT :: ( forall b. Data0 b => b -> b) -> Data -> Data Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data0 d => d -> r') -> Data -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data0 d => d -> r') -> Data -> r Source #

gmapQ :: ( forall d. Data0 d => d -> u) -> Data -> [u] Source #

gmapQi :: Int -> ( forall d. Data0 d => d -> u) -> Data -> u Source #

gmapM :: Monad m => ( forall d. Data0 d => d -> m d) -> Data -> m Data Source #

gmapMp :: MonadPlus m => ( forall d. Data0 d => d -> m d) -> Data -> m Data Source #

gmapMo :: MonadPlus m => ( forall d. Data0 d => d -> m d) -> Data -> m Data Source #

Ord Data Source #
Instance details

Defined in PlutusCore.Data

Show Data Source #
Instance details

Defined in PlutusCore.Data

Generic Data Source #
Instance details

Defined in PlutusCore.Data

Associated Types

type Rep Data :: Type -> Type Source #

NFData Data Source #
Instance details

Defined in PlutusCore.Data

Flat Data Source #
Instance details

Defined in PlutusCore.Flat

Pretty Data Source #
Instance details

Defined in PlutusCore.Data

Serialise Data Source #
Instance details

Defined in PlutusCore.Data

ExMemoryUsage Data Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

PrettyBy ConstConfig Data Source #
Instance details

Defined in PlutusCore.Pretty.PrettyConst

HasConstantIn DefaultUni term => ReadKnownIn DefaultUni term Data Source #
Instance details

Defined in PlutusCore.Default.Universe

HasConstantIn DefaultUni term => MakeKnownIn DefaultUni term Data Source #
Instance details

Defined in PlutusCore.Default.Universe

Contains DefaultUni Data Source #
Instance details

Defined in PlutusCore.Default.Universe

KnownBuiltinTypeAst DefaultUni Data => KnownTypeAst DefaultUni Data Source #
Instance details

Defined in PlutusCore.Default.Universe

type Rep Data Source #
Instance details

Defined in PlutusCore.Data

type ToHoles Data Source #
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds Data Source #
Instance details

Defined in PlutusCore.Default.Universe