cardano-ledger-alonzo-0.1.0.0: Cardano ledger introducing Plutus Core
Safe Haskell None
Language Haskell2010

Cardano.Ledger.Alonzo.Language

Description

This module provides data structures and operations for talking about Non-native Script languages. It is expected that new languages (or new versions of old languages) will be added here.

Synopsis

Documentation

data Language Source #

Non-Native Script language. This is an Enumerated type. This is expected to be an open type. We will add new Constuctors to this type as additional Non-Native scripting language as are added. We use an enumerated type for two reasons. 1) We can write total functions by case analysis over the constructors 2) We will use DataKinds to make some datatypes indexed by Language For now, the only Non-Native Scriting language is Plutus We might add new languages in the futures.

Note that the the serialization of Language depends on the ordering.

Instances

Instances details
Bounded Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Enum Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Eq Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Ord Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Show Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Ix Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

Generic Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

NFData Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

ToJSON Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

ToJSONKey Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

FromJSON Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

FromJSONKey Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

ToCBOR Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

FromCBOR Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

NoThunks Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

type Rep Language Source #
Instance details

Defined in Cardano.Ledger.Alonzo.Language

type Rep Language = D1 (' MetaData "Language" "Cardano.Ledger.Alonzo.Language" "cardano-ledger-alonzo-0.1.0.0-xW3meaGVQP43dxJ76zbGD" ' False ) ( C1 (' MetaCons "PlutusV1" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "PlutusV2" ' PrefixI ' False ) ( U1 :: Type -> Type ))