atlas-cardano-0.5.0: Application backend for Plutus smart contracts on Cardano
Copyright(c) 2023 GYELD GMBH
LicenseApache 2.0
Maintainer[email protected]
Stabilitydevelop
Safe HaskellSafe-Inferred
LanguageGHC2021

GeniusYield.Imports

Description

 
Synopsis

Documentation

data Natural #

Natural number

Invariant: numbers <= 0xffffffffffffffff use the NS constructor

Instances

Instances details
FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data Natural

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Natural → c Natural #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c Natural #

toConstrNaturalConstr #

dataTypeOfNaturalDataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c Natural) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c Natural) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → NaturalNatural #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Natural → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Natural → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Natural → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Natural → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Natural → m Natural #

Bits Natural

Since: base-4.8.0

Instance details

Defined in GHC.Bits

Enum Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Enum

Ix Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Ix

Num Natural

Note that Natural's Num instance isn't a ring: no element but 0 has an additive inverse. It is a semiring though.

Since: base-4.8.0.0

Instance details

Defined in GHC.Num

Read Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Read

Integral Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Real Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Real

Methods

toRationalNaturalRational #

Show Natural

Since: base-4.8.0.0

Instance details

Defined in GHC.Show

Methods

showsPrecIntNaturalShowS #

showNaturalString #

showList ∷ [Natural] → ShowS #

PrintfArg Natural

Since: base-4.8.0.0

Instance details

Defined in Text.Printf

Subtractive Natural 
Instance details

Defined in Basement.Numerical.Subtractive

Associated Types

type Difference Natural #

Methods

(-)NaturalNaturalDifference Natural #

FromCBOR Natural 
Instance details

Defined in Cardano.Binary.FromCBOR

ToCBOR Natural 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORNaturalEncoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy NaturalSize #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Natural] → Size #

DecCBOR Natural 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

EncCBOR Natural 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBORNaturalEncoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy NaturalSize #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Natural] → Size #

FromField Natural

Accepts an unsigned decimal number. Ignores whitespace.

Since: cassava-0.5.1.0

Instance details

Defined in Data.Csv.Conversion

ToField Natural

Uses decimal encoding.

Since: cassava-0.5.1.0

Instance details

Defined in Data.Csv.Conversion

Methods

toFieldNaturalField #

NFData Natural

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnfNatural → () #

Eq Natural 
Instance details

Defined in GHC.Num.Natural

Methods

(==)NaturalNaturalBool #

(/=)NaturalNaturalBool #

Ord Natural 
Instance details

Defined in GHC.Num.Natural

Methods

compareNaturalNaturalOrdering #

(<)NaturalNaturalBool #

(<=)NaturalNaturalBool #

(>)NaturalNaturalBool #

(>=)NaturalNaturalBool #

maxNaturalNaturalNatural #

minNaturalNaturalNatural #

Hashable Natural 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntNaturalInt #

hashNaturalInt #

FromFormKey Natural 
Instance details

Defined in Web.Internal.FormUrlEncoded

ToFormKey Natural 
Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormKeyNaturalText #

FromHttpApiData Natural 
Instance details

Defined in Web.Internal.HttpApiData

ToHttpApiData Natural 
Instance details

Defined in Web.Internal.HttpApiData

NoThunks Natural 
Instance details

Defined in NoThunks.Class

ToParamSchema Natural 
Instance details

Defined in Data.OpenApi.Internal.ParamSchema

ToSchema Natural 
Instance details

Defined in Data.OpenApi.Internal.Schema

Pretty Natural 
Instance details

Defined in Prettyprinter.Internal

Methods

prettyNaturalDoc ann #

prettyList ∷ [Natural] → Doc ann #

UniformRange Natural 
Instance details

Defined in System.Random.Internal

Methods

uniformRMStatefulGen g m ⇒ (Natural, Natural) → g → m Natural #

Corecursive Natural 
Instance details

Defined in Data.Functor.Foldable

Methods

embedBase Natural NaturalNatural #

ana ∷ (a → Base Natural a) → a → Natural #

apo ∷ (a → Base Natural (Either Natural a)) → a → Natural #

postproRecursive Natural ⇒ (∀ b. Base Natural b → Base Natural b) → (a → Base Natural a) → a → Natural #

gpostpro ∷ (Recursive Natural, Monad m) ⇒ (∀ b. m (Base Natural b) → Base Natural (m b)) → (∀ c. Base Natural c → Base Natural c) → (a → Base Natural (m a)) → a → Natural #

Recursive Natural 
Instance details

Defined in Data.Functor.Foldable

Methods

projectNaturalBase Natural Natural #

cata ∷ (Base Natural a → a) → Natural → a #

para ∷ (Base Natural (Natural, a) → a) → Natural → a #

gpara ∷ (Corecursive Natural, Comonad w) ⇒ (∀ b. Base Natural (w b) → w (Base Natural b)) → (Base Natural (EnvT Natural w a) → a) → Natural → a #

preproCorecursive Natural ⇒ (∀ b. Base Natural b → Base Natural b) → (Base Natural a → a) → Natural → a #

gprepro ∷ (Corecursive Natural, Comonad w) ⇒ (∀ b. Base Natural (w b) → w (Base Natural b)) → (∀ c. Base Natural c → Base Natural c) → (Base Natural (w a) → a) → Natural → a #

ToParamSchema Natural 
Instance details

Defined in Data.Swagger.Internal.ParamSchema

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy NaturalParamSchema t #

ToSchema Natural 
Instance details

Defined in Data.Swagger.Internal.Schema

FromText Natural 
Instance details

Defined in Data.Text.Class

ToText Natural 
Instance details

Defined in Data.Text.Class

Methods

toTextNaturalText #

Pretty Natural 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

prettyNaturalDoc b #

prettyList ∷ [Natural] → Doc b #

KnownNat n ⇒ HasResolution (n ∷ Nat)

For example, Fixed 1000 will give you a Fixed with a resolution of 1000.

Instance details

Defined in Data.Fixed

Methods

resolution ∷ p n → Integer #

TestCoercion SNat

Since: base-4.18.0.0

Instance details

Defined in GHC.TypeNats

Methods

testCoercion ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (Coercion a b) #

TestEquality SNat

Since: base-4.18.0.0

Instance details

Defined in GHC.TypeNats

Methods

testEquality ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (a :~: b) #

DefaultPrettyBy config Natural 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → NaturalDoc ann #

defaultPrettyListBy ∷ config → [Natural] → Doc ann #

PrettyDefaultBy config NaturalPrettyBy config Natural
>>> prettyBy () (123 :: Natural)
123
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → NaturalDoc ann #

prettyListBy ∷ config → [Natural] → Doc ann #

GCompare SNat 
Instance details

Defined in Data.GADT.Internal

Methods

gcompare ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → GOrdering a b #

GEq SNat 
Instance details

Defined in Data.GADT.Internal

Methods

geq ∷ ∀ (a ∷ k) (b ∷ k). SNat a → SNat b → Maybe (a :~: b) #

GShow SNat 
Instance details

Defined in Data.GADT.Internal

Methods

gshowsPrec ∷ ∀ (a ∷ k). IntSNat a → ShowS #

Lift Natural 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

liftQuote m ⇒ Natural → m Exp #

liftTyped ∷ ∀ (m ∷ TypeType). Quote m ⇒ NaturalCode m Natural #

KnownNat n ⇒ Reifies (n ∷ Nat) Integer 
Instance details

Defined in Data.Reflection

Methods

reflect ∷ proxy n → Integer #

NatVals ('[] ∷ [Nat]) 
Instance details

Defined in Cardano.Mnemonic

Methods

natValsProxy '[] → [Integer] #

Buildable (Range Natural) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

buildRange NaturalBuilder #

Buildable (Range Natural) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

buildRange NaturalBuilder #

(n ~ EntropySize mw, csz ~ CheckSumBits n, ConsistentEntropy n mw csz) ⇒ MkSomeMnemonic '[mw] 
Instance details

Defined in Cardano.Mnemonic

(n ~ EntropySize mw, csz ~ CheckSumBits n, ConsistentEntropy n mw csz, MkSomeMnemonic rest, NatVals rest) ⇒ MkSomeMnemonic (mw ': rest) 
Instance details

Defined in Cardano.Mnemonic

(KnownNat n, NatVals rest) ⇒ NatVals (n ': rest) 
Instance details

Defined in Cardano.Mnemonic

Methods

natValsProxy (n ': rest) → [Integer] #

type Difference Natural 
Instance details

Defined in Basement.Numerical.Subtractive

type IntBaseType Natural 
Instance details

Defined in Data.IntCast

type Base Natural 
Instance details

Defined in Data.Functor.Foldable

type Compare (a ∷ Natural) (b ∷ Natural) 
Instance details

Defined in Data.Type.Ord

type Compare (a ∷ Natural) (b ∷ Natural) = CmpNat a b

data Void #

Uninhabited data type

Since: base-4.8.0.0

Instances

Instances details
HasTrie Void 
Instance details

Defined in Data.MemoTrie

Associated Types

data (:->:) VoidTypeType #

Methods

trie ∷ (Void → b) → Void :->: b #

untrie ∷ (Void :->: b) → Void → b #

enumerate ∷ (Void :->: b) → [(Void, b)] #

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Void

Since: aeson-2.1.2.0

Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Void

Since: aeson-2.1.2.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Data Void

Since: base-4.8.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Void → c Void #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c Void #

toConstrVoidConstr #

dataTypeOfVoidDataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c Void) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c Void) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → VoidVoid #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Void → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Void → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Void → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Void → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Void → m Void #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Void → m Void #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Void → m Void #

Semigroup Void

Since: base-4.9.0.0

Instance details

Defined in GHC.Base

Methods

(<>)VoidVoidVoid #

sconcatNonEmpty VoidVoid #

stimesIntegral b ⇒ b → VoidVoid #

Exception Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Exception.Type

Generic Void 
Instance details

Defined in GHC.Generics

Associated Types

type Rep VoidTypeType #

Methods

fromVoidRep Void x #

toRep Void x → Void #

Ix Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Ix

Methods

range ∷ (Void, Void) → [Void] #

index ∷ (Void, Void) → VoidInt #

unsafeIndex ∷ (Void, Void) → VoidInt #

inRange ∷ (Void, Void) → VoidBool #

rangeSize ∷ (Void, Void) → Int #

unsafeRangeSize ∷ (Void, Void) → Int #

Read Void

Reading a Void value is always a parse error, considering Void as a data type with no constructors.

Since: base-4.8.0.0

Instance details

Defined in GHC.Read

Show Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Show

Methods

showsPrecIntVoidShowS #

showVoidString #

showList ∷ [Void] → ShowS #

FromCBOR Void 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBORDecoder s Void #

labelProxy VoidText #

ToCBOR Void 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORVoidEncoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy VoidSize #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Void] → Size #

DecCBOR Void 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBORDecoder s Void #

dropCBORProxy VoidDecoder s () #

labelProxy VoidText #

EncCBOR Void 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBORVoidEncoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy VoidSize #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Void] → Size #

NFData Void

Defined as rnf = absurd.

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnfVoid → () #

Eq Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Base

Methods

(==)VoidVoidBool #

(/=)VoidVoidBool #

Ord Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Base

Methods

compareVoidVoidOrdering #

(<)VoidVoidBool #

(<=)VoidVoidBool #

(>)VoidVoidBool #

(>=)VoidVoidBool #

maxVoidVoidVoid #

minVoidVoidVoid #

Hashable Void 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntVoidInt #

hashVoidInt #

FromFormKey Void 
Instance details

Defined in Web.Internal.FormUrlEncoded

ToFormKey Void 
Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormKeyVoidText #

FromHttpApiData Void

Parsing a Void value is always an error, considering Void as a data type with no constructors.

Instance details

Defined in Web.Internal.HttpApiData

ToHttpApiData Void 
Instance details

Defined in Web.Internal.HttpApiData

ShowErrorComponent Void 
Instance details

Defined in Text.Megaparsec.Error

NoThunks Void 
Instance details

Defined in NoThunks.Class

FromData Void 
Instance details

Defined in PlutusTx.IsData.Class

ToData Void 
Instance details

Defined in PlutusTx.IsData.Class

UnsafeFromData Void 
Instance details

Defined in PlutusTx.IsData.Class

Pretty Void

Finding a good example for printing something that does not exist is hard, so here is an example of printing a list full of nothing.

>>> pretty ([] :: [Void])
[]
Instance details

Defined in Prettyprinter.Internal

Methods

prettyVoidDoc ann #

prettyList ∷ [Void] → Doc ann #

Finite Void 
Instance details

Defined in System.Random.GFinite

Methods

cardinalityProxy# Void → Cardinality

toFiniteIntegerVoid

fromFiniteVoidInteger

DefaultPrettyBy config Void 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → VoidDoc ann #

defaultPrettyListBy ∷ config → [Void] → Doc ann #

PrettyDefaultBy config VoidPrettyBy config Void
>>> prettyBy () ([] :: [Void])
[]
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → VoidDoc ann #

prettyListBy ∷ config → [Void] → Doc ann #

Lift Void

Since: template-haskell-2.15.0.0

Instance details

Defined in Language.Haskell.TH.Syntax

Methods

liftQuote m ⇒ Void → m Exp #

liftTyped ∷ ∀ (m ∷ TypeType). Quote m ⇒ VoidCode m Void #

FoldableWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → Proxy a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → Proxy a → m #

ifoldr ∷ (Void → a → b → b) → b → Proxy a → b #

ifoldl ∷ (Void → b → a → b) → b → Proxy a → b #

ifoldr' ∷ (Void → a → b → b) → b → Proxy a → b #

ifoldl' ∷ (Void → b → a → b) → b → Proxy a → b #

FoldableWithIndex Void (U1TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → U1 a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → U1 a → m #

ifoldr ∷ (Void → a → b → b) → b → U1 a → b #

ifoldl ∷ (Void → b → a → b) → b → U1 a → b #

ifoldr' ∷ (Void → a → b → b) → b → U1 a → b #

ifoldl' ∷ (Void → b → a → b) → b → U1 a → b #

FoldableWithIndex Void (V1TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → V1 a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → V1 a → m #

ifoldr ∷ (Void → a → b → b) → b → V1 a → b #

ifoldl ∷ (Void → b → a → b) → b → V1 a → b #

ifoldr' ∷ (Void → a → b → b) → b → V1 a → b #

ifoldl' ∷ (Void → b → a → b) → b → V1 a → b #

FunctorWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → Proxy a → Proxy b #

FunctorWithIndex Void (U1TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → U1 a → U1 b #

FunctorWithIndex Void (V1TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → V1 a → V1 b #

TraversableWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → Proxy a → f (Proxy b) #

TraversableWithIndex Void (U1TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → U1 a → f (U1 b) #

TraversableWithIndex Void (V1TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → V1 a → f (V1 b) #

FilterableWithIndex Void (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

imapMaybe ∷ (Void → a → Maybe b) → Proxy a → Proxy b #

ifilter ∷ (Void → a → Bool) → Proxy a → Proxy a #

WitherableWithIndex Void (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

iwitherApplicative f ⇒ (Void → a → f (Maybe b)) → Proxy a → f (Proxy b) #

iwitherMMonad m ⇒ (Void → a → m (Maybe b)) → Proxy a → m (Proxy b) #

ifilterAApplicative f ⇒ (Void → a → f Bool) → Proxy a → f (Proxy a) #

FoldableWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → Const e a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → Const e a → m #

ifoldr ∷ (Void → a → b → b) → b → Const e a → b #

ifoldl ∷ (Void → b → a → b) → b → Const e a → b #

ifoldr' ∷ (Void → a → b → b) → b → Const e a → b #

ifoldl' ∷ (Void → b → a → b) → b → Const e a → b #

FoldableWithIndex Void (Constant e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → Constant e a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → Constant e a → m #

ifoldr ∷ (Void → a → b → b) → b → Constant e a → b #

ifoldl ∷ (Void → b → a → b) → b → Constant e a → b #

ifoldr' ∷ (Void → a → b → b) → b → Constant e a → b #

ifoldl' ∷ (Void → b → a → b) → b → Constant e a → b #

FunctorWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → Const e a → Const e b #

FunctorWithIndex Void (Constant e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → Constant e a → Constant e b #

TraversableWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → Const e a → f (Const e b) #

TraversableWithIndex Void (Constant e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → Constant e a → f (Constant e b) #

FoldableWithIndex Void (K1 i c ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → K1 i c a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → K1 i c a → m #

ifoldr ∷ (Void → a → b → b) → b → K1 i c a → b #

ifoldl ∷ (Void → b → a → b) → b → K1 i c a → b #

ifoldr' ∷ (Void → a → b → b) → b → K1 i c a → b #

ifoldl' ∷ (Void → b → a → b) → b → K1 i c a → b #

FunctorWithIndex Void (K1 i c ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → K1 i c a → K1 i c b #

TraversableWithIndex Void (K1 i c ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → K1 i c a → f (K1 i c b) #

Newtype (Void :->: a) 
Instance details

Defined in Data.MemoTrie

Associated Types

type O (Void :->: a) #

Methods

packO (Void :->: a) → Void :->: a #

unpack ∷ (Void :->: a) → O (Void :->: a) #

data Void :->: a 
Instance details

Defined in Data.MemoTrie

data Void :->: a = VoidTrie
type Rep Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Generics

type Rep Void = D1 ('MetaData "Void" "GHC.Base" "base" 'False) (V1TypeType)
type Code Void 
Instance details

Defined in Generics.SOP.Instances

type Code Void = '[] ∷ [[Type]]
type DatatypeInfoOf Void 
Instance details

Defined in Generics.SOP.Instances

type DatatypeInfoOf Void = 'ADT "GHC.Base" "Void" ('[] ∷ [ConstructorInfo]) ('[] ∷ [[StrictnessInfo]])
type O (Void :->: a) 
Instance details

Defined in Data.MemoTrie

type O (Void :->: a) = ()

type Type = TYPE LiftedRep #

The kind of types with lifted values. For example Int :: Type.

data CallStack #

CallStacks are a lightweight method of obtaining a partial call-stack at any point in the program.

A function can request its call-site with the HasCallStack constraint. For example, we can define

putStrLnWithCallStack :: HasCallStack => String -> IO ()

as a variant of putStrLn that will get its call-site and print it, along with the string given as argument. We can access the call-stack inside putStrLnWithCallStack with callStack.

>>> :{
putStrLnWithCallStack :: HasCallStack => String -> IO ()
putStrLnWithCallStack msg = do
  putStrLn msg
  putStrLn (prettyCallStack callStack)
:}

Thus, if we call putStrLnWithCallStack we will get a formatted call-stack alongside our string.

>>> putStrLnWithCallStack "hello"
hello
CallStack (from HasCallStack):
  putStrLnWithCallStack, called at <interactive>:... in interactive:Ghci...

GHC solves HasCallStack constraints in three steps:

  1. If there is a CallStack in scope -- i.e. the enclosing function has a HasCallStack constraint -- GHC will append the new call-site to the existing CallStack.
  2. If there is no CallStack in scope -- e.g. in the GHCi session above -- and the enclosing definition does not have an explicit type signature, GHC will infer a HasCallStack constraint for the enclosing definition (subject to the monomorphism restriction).
  3. If there is no CallStack in scope and the enclosing definition has an explicit type signature, GHC will solve the HasCallStack constraint for the singleton CallStack containing just the current call-site.

CallStacks do not interact with the RTS and do not require compilation with -prof. On the other hand, as they are built up explicitly via the HasCallStack constraints, they will generally not contain as much information as the simulated call-stacks maintained by the RTS.

A CallStack is a [(String, SrcLoc)]. The String is the name of function that was called, the SrcLoc is the call-site. The list is ordered with the most recently called function at the head.

NOTE: The intrepid user may notice that HasCallStack is just an alias for an implicit parameter ?callStack :: CallStack. This is an implementation detail and should not be considered part of the CallStack API, we may decide to change the implementation in the future.

Since: base-4.8.1.0

Instances

Instances details
IsList CallStack

Be aware that 'fromList . toList = id' only for unfrozen CallStacks, since toList removes frozenness information.

Since: base-4.9.0.0

Instance details

Defined in GHC.IsList

Associated Types

type Item CallStack #

Show CallStack

Since: base-4.9.0.0

Instance details

Defined in GHC.Show

Methods

showsPrecIntCallStackShowS #

showCallStackString #

showList ∷ [CallStack] → ShowS #

NFData CallStack

Since: deepseq-1.4.2.0

Instance details

Defined in Control.DeepSeq

Methods

rnfCallStack → () #

NoThunks CallStack

Since CallStacks can't retain application data, we don't want to check them for thunks at all

Instance details

Defined in NoThunks.Class

type Item CallStack 
Instance details

Defined in GHC.IsList

type Code CallStack 
Instance details

Defined in Generics.SOP.Instances

type Code CallStack = '['[] ∷ [Type], '[[Char], SrcLoc, CallStack], '[CallStack]]
type DatatypeInfoOf CallStack 
Instance details

Defined in Generics.SOP.Instances

class Generic a #

Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.

A Generic instance must satisfy the following laws:

from . toid
to . fromid

Minimal complete definition

from, to

Instances

Instances details
Generic CabalSpecVersion 
Instance details

Defined in Distribution.CabalSpecVersion

Associated Types

type Rep CabalSpecVersionTypeType #

Generic PError 
Instance details

Defined in Distribution.Parsec.Error

Associated Types

type Rep PErrorTypeType #

Methods

fromPErrorRep PError x #

toRep PError x → PError #

Generic Position 
Instance details

Defined in Distribution.Parsec.Position

Associated Types

type Rep PositionTypeType #

Methods

fromPositionRep Position x #

toRep Position x → Position #

Generic PWarnType 
Instance details

Defined in Distribution.Parsec.Warning

Associated Types

type Rep PWarnTypeTypeType #

Methods

fromPWarnTypeRep PWarnType x #

toRep PWarnType x → PWarnType #

Generic PWarning 
Instance details

Defined in Distribution.Parsec.Warning

Associated Types

type Rep PWarningTypeType #

Methods

fromPWarningRep PWarning x #

toRep PWarning x → PWarning #

Generic Arch 
Instance details

Defined in Distribution.System

Associated Types

type Rep ArchTypeType #

Methods

fromArchRep Arch x #

toRep Arch x → Arch #

Generic OS 
Instance details

Defined in Distribution.System

Associated Types

type Rep OSTypeType #

Methods

fromOSRep OS x #

toRep OS x → OS #

Generic Platform 
Instance details

Defined in Distribution.System

Associated Types

type Rep PlatformTypeType #

Methods

fromPlatformRep Platform x #

toRep Platform x → Platform #

Generic Structure 
Instance details

Defined in Distribution.Utils.Structured

Associated Types

type Rep StructureTypeType #

Methods

fromStructureRep Structure x #

toRep Structure x → Structure #

Generic Value 
Instance details

Defined in Data.Aeson.Types.Internal

Associated Types

type Rep ValueTypeType #

Methods

fromValueRep Value x #

toRep Value x → Value #

Generic AdjacencyIntMap 
Instance details

Defined in Algebra.Graph.AdjacencyIntMap

Associated Types

type Rep AdjacencyIntMapTypeType #

Generic GYAddress # 
Instance details

Defined in GeniusYield.Types.Address

Associated Types

type Rep GYAddressTypeType #

Methods

fromGYAddressRep GYAddress x #

toRep GYAddress x → GYAddress #

Generic GYStakeAddress # 
Instance details

Defined in GeniusYield.Types.Address

Associated Types

type Rep GYStakeAddressTypeType #

Generic GYEra # 
Instance details

Defined in GeniusYield.Types.Era

Associated Types

type Rep GYEraTypeType #

Methods

fromGYEraRep GYEra x #

toRep GYEra x → GYEra #

Generic GYNatural # 
Instance details

Defined in GeniusYield.Types.Natural

Associated Types

type Rep GYNaturalTypeType #

Methods

fromGYNaturalRep GYNatural x #

toRep GYNatural x → GYNatural #

Generic GYNetworkInfo # 
Instance details

Defined in GeniusYield.Types.NetworkId

Associated Types

type Rep GYNetworkInfoTypeType #

Generic GYRational # 
Instance details

Defined in GeniusYield.Types.Rational

Associated Types

type Rep GYRationalTypeType #

Generic GYAssetClass # 
Instance details

Defined in GeniusYield.Types.Value

Associated Types

type Rep GYAssetClassTypeType #

Generic All 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep AllTypeType #

Methods

fromAllRep All x #

toRep All x → All #

Generic Any 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep AnyTypeType #

Methods

fromAnyRep Any x #

toRep Any x → Any #

Generic Version 
Instance details

Defined in Data.Version

Associated Types

type Rep VersionTypeType #

Methods

fromVersionRep Version x #

toRep Version x → Version #

Generic Void 
Instance details

Defined in GHC.Generics

Associated Types

type Rep VoidTypeType #

Methods

fromVoidRep Void x #

toRep Void x → Void #

Generic ByteOrder 
Instance details

Defined in GHC.ByteOrder

Associated Types

type Rep ByteOrderTypeType #

Methods

fromByteOrderRep ByteOrder x #

toRep ByteOrder x → ByteOrder #

Generic Fingerprint 
Instance details

Defined in GHC.Generics

Associated Types

type Rep FingerprintTypeType #

Generic Associativity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep AssociativityTypeType #

Generic DecidedStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep DecidedStrictnessTypeType #

Generic Fixity 
Instance details

Defined in GHC.Generics

Associated Types

type Rep FixityTypeType #

Methods

fromFixityRep Fixity x #

toRep Fixity x → Fixity #

Generic SourceStrictness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceStrictnessTypeType #

Generic SourceUnpackedness 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SourceUnpackednessTypeType #

Generic ExitCode 
Instance details

Defined in GHC.IO.Exception

Associated Types

type Rep ExitCodeTypeType #

Methods

fromExitCodeRep ExitCode x #

toRep ExitCode x → ExitCode #

Generic CCFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep CCFlagsTypeType #

Methods

fromCCFlagsRep CCFlags x #

toRep CCFlags x → CCFlags #

Generic ConcFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ConcFlagsTypeType #

Methods

fromConcFlagsRep ConcFlags x #

toRep ConcFlags x → ConcFlags #

Generic DebugFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DebugFlagsTypeType #

Generic DoCostCentres 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoCostCentresTypeType #

Generic DoHeapProfile 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoHeapProfileTypeType #

Generic DoTrace 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep DoTraceTypeType #

Methods

fromDoTraceRep DoTrace x #

toRep DoTrace x → DoTrace #

Generic GCFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep GCFlagsTypeType #

Methods

fromGCFlagsRep GCFlags x #

toRep GCFlags x → GCFlags #

Generic GiveGCStats 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep GiveGCStatsTypeType #

Generic MiscFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep MiscFlagsTypeType #

Methods

fromMiscFlagsRep MiscFlags x #

toRep MiscFlags x → MiscFlags #

Generic ParFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ParFlagsTypeType #

Methods

fromParFlagsRep ParFlags x #

toRep ParFlags x → ParFlags #

Generic ProfFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep ProfFlagsTypeType #

Methods

fromProfFlagsRep ProfFlags x #

toRep ProfFlags x → ProfFlags #

Generic RTSFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep RTSFlagsTypeType #

Methods

fromRTSFlagsRep RTSFlags x #

toRep RTSFlags x → RTSFlags #

Generic TickyFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep TickyFlagsTypeType #

Generic TraceFlags 
Instance details

Defined in GHC.RTS.Flags

Associated Types

type Rep TraceFlagsTypeType #

Generic SrcLoc 
Instance details

Defined in GHC.Generics

Associated Types

type Rep SrcLocTypeType #

Methods

fromSrcLocRep SrcLoc x #

toRep SrcLoc x → SrcLoc #

Generic GCDetails 
Instance details

Defined in GHC.Stats

Associated Types

type Rep GCDetailsTypeType #

Methods

fromGCDetailsRep GCDetails x #

toRep GCDetails x → GCDetails #

Generic RTSStats 
Instance details

Defined in GHC.Stats

Associated Types

type Rep RTSStatsTypeType #

Methods

fromRTSStatsRep RTSStats x #

toRep RTSStats x → RTSStats #

Generic GeneralCategory 
Instance details

Defined in GHC.Generics

Associated Types

type Rep GeneralCategoryTypeType #

Generic Alphabet 
Instance details

Defined in Data.ByteString.Base58.Internal

Associated Types

type Rep AlphabetTypeType #

Methods

fromAlphabetRep Alphabet x #

toRep Alphabet x → Alphabet #

Generic ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

Associated Types

type Rep ByteString64TypeType #

Generic Project 
Instance details

Defined in Blockfrost.Auth

Associated Types

type Rep ProjectTypeType #

Methods

fromProjectRep Project x #

toRep Project x → Project #

Generic Env 
Instance details

Defined in Blockfrost.Env

Associated Types

type Rep EnvTypeType #

Methods

fromEnvRep Env x #

toRep Env x → Env #

Generic ApiError 
Instance details

Defined in Blockfrost.Types.ApiError

Associated Types

type Rep ApiErrorTypeType #

Methods

fromApiErrorRep ApiError x #

toRep ApiError x → ApiError #

Generic AccountDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountDelegationTypeType #

Generic AccountHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountHistoryTypeType #

Generic AccountInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountInfoTypeType #

Generic AccountMir 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountMirTypeType #

Generic AccountRegistration 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountRegistrationTypeType #

Generic AccountRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountRegistrationActionTypeType #

Generic AccountReward 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountRewardTypeType #

Generic AccountWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AccountWithdrawalTypeType #

Generic AddressAssociated 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AddressAssociatedTypeType #

Generic AddressAssociatedTotal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep AddressAssociatedTotalTypeType #

Generic RewardType 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

Associated Types

type Rep RewardTypeTypeType #

Generic AddressDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressDetailsTypeType #

Generic AddressInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressInfoTypeType #

Generic AddressInfoExtended 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressInfoExtendedTypeType #

Generic AddressTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressTransactionTypeType #

Generic AddressType 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressTypeTypeType #

Generic AddressUtxo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

Associated Types

type Rep AddressUtxoTypeType #

Generic AssetAction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetActionTypeType #

Generic AssetAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetAddressTypeType #

Generic AssetDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetDetailsTypeType #

Generic AssetHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetHistoryTypeType #

Generic AssetInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetInfoTypeType #

Methods

fromAssetInfoRep AssetInfo x #

toRep AssetInfo x → AssetInfo #

Generic AssetMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetMetadataTypeType #

Generic AssetOnChainMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetOnChainMetadataTypeType #

Generic AssetTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep AssetTransactionTypeType #

Generic MetadataMediaFile 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Associated Types

type Rep MetadataMediaFileTypeType #

Generic Block 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

Associated Types

type Rep BlockTypeType #

Methods

fromBlockRep Block x #

toRep Block x → Block #

Generic CostModels 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep CostModelsTypeType #

Generic EpochInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep EpochInfoTypeType #

Methods

fromEpochInfoRep EpochInfo x #

toRep EpochInfo x → EpochInfo #

Generic PoolStakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep PoolStakeDistributionTypeType #

Generic ProtocolParams 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep ProtocolParamsTypeType #

Generic StakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

Associated Types

type Rep StakeDistributionTypeType #

Generic Genesis 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

Associated Types

type Rep GenesisTypeType #

Methods

fromGenesisRep Genesis x #

toRep Genesis x → Genesis #

Generic TxMeta 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMetaTypeType #

Methods

fromTxMetaRep TxMeta x #

toRep TxMeta x → TxMeta #

Generic TxMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMetaCBORTypeType #

Generic TxMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

Associated Types

type Rep TxMetaJSONTypeType #

Generic Network 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkTypeType #

Methods

fromNetworkRep Network x #

toRep Network x → Network #

Generic NetworkEraBound 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraBoundTypeType #

Generic NetworkEraParameters 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraParametersTypeType #

Generic NetworkEraSummary 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkEraSummaryTypeType #

Generic NetworkStake 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkStakeTypeType #

Generic NetworkSupply 
Instance details

Defined in Blockfrost.Types.Cardano.Network

Associated Types

type Rep NetworkSupplyTypeType #

Generic Pool 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolTypeType #

Methods

fromPoolRep Pool x #

toRep Pool x → Pool #

Generic PoolDelegator 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolDelegatorTypeType #

Generic PoolEpoch 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolEpochTypeType #

Methods

fromPoolEpochRep PoolEpoch x #

toRep PoolEpoch x → PoolEpoch #

Generic PoolHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolHistoryTypeType #

Generic PoolInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolInfoTypeType #

Methods

fromPoolInfoRep PoolInfo x #

toRep PoolInfo x → PoolInfo #

Generic PoolMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolMetadataTypeType #

Generic PoolRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolRegistrationActionTypeType #

Generic PoolRelay 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolRelayTypeType #

Methods

fromPoolRelayRep PoolRelay x #

toRep PoolRelay x → PoolRelay #

Generic PoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

Associated Types

type Rep PoolUpdateTypeType #

Generic InlineDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep InlineDatumTypeType #

Generic Script 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptTypeType #

Methods

fromScriptRep Script x #

toRep Script x → Script #

Generic ScriptCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptCBORTypeType #

Generic ScriptDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptDatumTypeType #

Generic ScriptDatumCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptDatumCBORTypeType #

Generic ScriptJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptJSONTypeType #

Generic ScriptRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptRedeemerTypeType #

Generic ScriptType 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptTypeTypeType #

Generic PoolUpdateMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep PoolUpdateMetadataTypeType #

Generic Pot 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep PotTypeType #

Methods

fromPotRep Pot x #

toRep Pot x → Pot #

Generic Transaction 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionTypeType #

Generic TransactionDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionDelegationTypeType #

Generic TransactionMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionMetaCBORTypeType #

Generic TransactionMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionMetaJSONTypeType #

Generic TransactionMir 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionMirTypeType #

Generic TransactionPoolRetiring 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionPoolRetiringTypeType #

Generic TransactionPoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionPoolUpdateTypeType #

Generic TransactionRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionRedeemerTypeType #

Generic TransactionStake 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionStakeTypeType #

Generic TransactionUtxos 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionUtxosTypeType #

Generic TransactionWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep TransactionWithdrawalTypeType #

Generic UtxoInput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep UtxoInputTypeType #

Methods

fromUtxoInputRep UtxoInput x #

toRep UtxoInput x → UtxoInput #

Generic UtxoOutput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Associated Types

type Rep UtxoOutputTypeType #

Generic DerivedAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep DerivedAddressTypeType #

Generic TxEval 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep TxEvalTypeType #

Methods

fromTxEvalRep TxEval x #

toRep TxEval x → TxEval #

Generic TxEvalBudget 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep TxEvalBudgetTypeType #

Generic TxEvalFailure 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep TxEvalFailure ∷ TypeType #

Methods

from ∷ TxEvalFailure → Rep TxEvalFailure x #

toRep TxEvalFailure x → TxEvalFailure #

Generic TxEvalInput 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep TxEvalInputTypeType #

Generic TxEvalValidator 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Associated Types

type Rep TxEvalValidatorTypeType #

Generic Healthy 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep HealthyTypeType #

Methods

fromHealthyRep Healthy x #

toRep Healthy x → Healthy #

Generic Metric 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep MetricTypeType #

Methods

fromMetricRep Metric x #

toRep Metric x → Metric #

Generic ServerTime 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep ServerTimeTypeType #

Generic URLVersion 
Instance details

Defined in Blockfrost.Types.Common

Associated Types

type Rep URLVersionTypeType #

Generic IPFSAdd 
Instance details

Defined in Blockfrost.Types.IPFS

Associated Types

type Rep IPFSAddTypeType #

Methods

fromIPFSAddRep IPFSAdd x #

toRep IPFSAdd x → IPFSAdd #

Generic IPFSData 
Instance details

Defined in Blockfrost.Types.IPFS

Associated Types

type Rep IPFSDataTypeType #

Methods

fromIPFSDataRep IPFSData x #

toRep IPFSData x → IPFSData #

Generic IPFSPin 
Instance details

Defined in Blockfrost.Types.IPFS

Associated Types

type Rep IPFSPinTypeType #

Methods

fromIPFSPinRep IPFSPin x #

toRep IPFSPin x → IPFSPin #

Generic IPFSPinChange 
Instance details

Defined in Blockfrost.Types.IPFS

Associated Types

type Rep IPFSPinChangeTypeType #

Generic PinState 
Instance details

Defined in Blockfrost.Types.IPFS

Associated Types

type Rep PinStateTypeType #

Methods

fromPinStateRep PinState x #

toRep PinState x → PinState #

Generic NutlinkAddress 
Instance details

Defined in Blockfrost.Types.NutLink

Associated Types

type Rep NutlinkAddressTypeType #

Generic NutlinkAddressTicker 
Instance details

Defined in Blockfrost.Types.NutLink

Associated Types

type Rep NutlinkAddressTickerTypeType #

Generic NutlinkTicker 
Instance details

Defined in Blockfrost.Types.NutLink

Associated Types

type Rep NutlinkTickerTypeType #

Generic Address 
Instance details

Defined in Blockfrost.Types.Shared.Address

Associated Types

type Rep AddressTypeType #

Methods

fromAddressRep Address x #

toRep Address x → Address #

Generic Amount 
Instance details

Defined in Blockfrost.Types.Shared.Amount

Associated Types

type Rep AmountTypeType #

Methods

fromAmountRep Amount x #

toRep Amount x → Amount #

Generic AmountExtended 
Instance details

Defined in Blockfrost.Types.Shared.Amount

Associated Types

type Rep AmountExtendedTypeType #

Generic AssetId 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Associated Types

type Rep AssetIdTypeType #

Methods

fromAssetIdRep AssetId x #

toRep AssetId x → AssetId #

Generic BlockHash 
Instance details

Defined in Blockfrost.Types.Shared.BlockHash

Associated Types

type Rep BlockHashTypeType #

Methods

fromBlockHashRep BlockHash x #

toRep BlockHash x → BlockHash #

Generic BlockIndex 
Instance details

Defined in Blockfrost.Types.Shared.BlockIndex

Associated Types

type Rep BlockIndexTypeType #

Generic DatumHash 
Instance details

Defined in Blockfrost.Types.Shared.DatumHash

Associated Types

type Rep DatumHashTypeType #

Methods

fromDatumHashRep DatumHash x #

toRep DatumHash x → DatumHash #

Generic Epoch 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Associated Types

type Rep EpochTypeType #

Methods

fromEpochRep Epoch x #

toRep Epoch x → Epoch #

Generic EpochLength 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

Associated Types

type Rep EpochLengthTypeType #

Generic POSIXMillis 
Instance details

Defined in Blockfrost.Types.Shared.POSIXMillis

Associated Types

type Rep POSIXMillisTypeType #

Generic PolicyId 
Instance details

Defined in Blockfrost.Types.Shared.PolicyId

Associated Types

type Rep PolicyIdTypeType #

Methods

fromPolicyIdRep PolicyId x #

toRep PolicyId x → PolicyId #

Generic PoolId 
Instance details

Defined in Blockfrost.Types.Shared.PoolId

Associated Types

type Rep PoolIdTypeType #

Methods

fromPoolIdRep PoolId x #

toRep PoolId x → PoolId #

Generic Quantity 
Instance details

Defined in Blockfrost.Types.Shared.Quantity

Associated Types

type Rep QuantityTypeType #

Methods

fromQuantityRep Quantity x #

toRep Quantity x → Quantity #

Generic ScriptHash 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

Associated Types

type Rep ScriptHashTypeType #

Generic ScriptHashList 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

Associated Types

type Rep ScriptHashListTypeType #

Generic Slot 
Instance details

Defined in Blockfrost.Types.Shared.Slot

Associated Types

type Rep SlotTypeType #

Methods

fromSlotRep Slot x #

toRep Slot x → Slot #

Generic TxHash 
Instance details

Defined in Blockfrost.Types.Shared.TxHash

Associated Types

type Rep TxHashTypeType #

Methods

fromTxHashRep TxHash x #

toRep TxHash x → TxHash #

Generic ValidationPurpose 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

Associated Types

type Rep ValidationPurposeTypeType #

Generic Address 
Instance details

Defined in Cardano.Address

Associated Types

type Rep AddressTypeType #

Methods

fromAddressRep Address x #

toRep Address x → Address #

Generic AddressDiscrimination 
Instance details

Defined in Cardano.Address

Associated Types

type Rep AddressDiscriminationTypeType #

Generic ChainPointer 
Instance details

Defined in Cardano.Address

Associated Types

type Rep ChainPointerTypeType #

Generic NetworkTag 
Instance details

Defined in Cardano.Address

Associated Types

type Rep NetworkTagTypeType #

Generic Cosigner 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep CosignerTypeType #

Methods

fromCosignerRep Cosigner x #

toRep Cosigner x → Cosigner #

Generic KeyHash 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep KeyHashTypeType #

Methods

fromKeyHashRep KeyHash x #

toRep KeyHash x → KeyHash #

Generic KeyRole 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep KeyRoleTypeType #

Methods

fromKeyRoleRep KeyRole x #

toRep KeyRole x → KeyRole #

Generic ScriptHash 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep ScriptHashTypeType #

Generic ScriptTemplate 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep ScriptTemplateTypeType #

Generic ValidationLevel 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep ValidationLevelTypeType #

Generic AddressInfo 
Instance details

Defined in Cardano.Address.Style.Byron

Associated Types

type Rep AddressInfoTypeType #

Generic ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Byron

Associated Types

type Rep ErrInspectAddressTypeType #

Generic PayloadInfo 
Instance details

Defined in Cardano.Address.Style.Byron

Associated Types

type Rep PayloadInfo ∷ TypeType #

Methods

from ∷ PayloadInfo → Rep PayloadInfo x #

toRep PayloadInfo x → PayloadInfo #

Generic AddressInfo 
Instance details

Defined in Cardano.Address.Style.Icarus

Associated Types

type Rep AddressInfoTypeType #

Generic ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Icarus

Associated Types

type Rep ErrInspectAddressTypeType #

Generic Role 
Instance details

Defined in Cardano.Address.Style.Icarus

Associated Types

type Rep RoleTypeType #

Methods

fromRoleRep Role x #

toRep Role x → Role #

Generic AddressInfo 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep AddressInfoTypeType #

Generic ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep ErrInspectAddressTypeType #

Generic ErrInspectAddressOnlyShelley 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep ErrInspectAddressOnlyShelleyTypeType #

Generic ErrInvalidStakeAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep ErrInvalidStakeAddress ∷ TypeType #

Methods

from ∷ ErrInvalidStakeAddress → Rep ErrInvalidStakeAddress x #

toRep ErrInvalidStakeAddress x → ErrInvalidStakeAddress #

Generic InspectAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep InspectAddressTypeType #

Generic ReferenceInfo 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep ReferenceInfoTypeType #

Generic Role 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep RoleTypeType #

Methods

fromRoleRep Role x #

toRep Role x → Role #

Generic PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep PraosNonceTypeType #

Generic ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

Associated Types

type Rep ProtocolParametersTypeType #

Generic SelectionConstraints 
Instance details

Defined in Internal.Cardano.Write.Tx.Balance.CoinSelection

Associated Types

type Rep SelectionConstraints ∷ TypeType #

Methods

from ∷ SelectionConstraints → Rep SelectionConstraints x #

toRep SelectionConstraints x → SelectionConstraints #

Generic SelectionParams 
Instance details

Defined in Internal.Cardano.Write.Tx.Balance.CoinSelection

Associated Types

type Rep SelectionParams ∷ TypeType #

Methods

from ∷ SelectionParams → Rep SelectionParams x #

toRep SelectionParams x → SelectionParams #

Generic SelectionSkeleton 
Instance details

Defined in Internal.Cardano.Write.Tx.Balance.CoinSelection

Associated Types

type Rep SelectionSkeleton ∷ TypeType #

Methods

from ∷ SelectionSkeleton → Rep SelectionSkeleton x #

toRep SelectionSkeleton x → SelectionSkeleton #

Generic WalletUTxO 
Instance details

Defined in Internal.Cardano.Write.Tx.Balance.CoinSelection

Associated Types

type Rep WalletUTxO ∷ TypeType #

Methods

from ∷ WalletUTxO → Rep WalletUTxO x #

toRep WalletUTxO x → WalletUTxO #

Generic ComputeMinimumCollateralParams 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep ComputeMinimumCollateralParamsTypeType #

Generic SelectionCollateralRequirement 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep SelectionCollateralRequirementTypeType #

Generic BalanceInsufficientError 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep BalanceInsufficientErrorTypeType #

Generic UTxOBalanceSufficiencyInfo 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep UTxOBalanceSufficiencyInfoTypeType #

Generic UnableToConstructChangeError 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep UnableToConstructChangeErrorTypeType #

Generic SelectionConstraints 
Instance details

Defined in Cardano.CoinSelection.Collateral

Associated Types

type Rep SelectionConstraintsTypeType #

Generic TokenBundleSizeAssessment 
Instance details

Defined in Cardano.CoinSelection.Size

Associated Types

type Rep TokenBundleSizeAssessmentTypeType #

Generic TokenBundleSizeAssessor 
Instance details

Defined in Cardano.CoinSelection.Size

Associated Types

type Rep TokenBundleSizeAssessorTypeType #

Generic Asset 
Instance details

Defined in Cardano.CoinSelection.UTxOIndex.Internal

Associated Types

type Rep AssetTypeType #

Methods

fromAssetRep Asset x #

toRep Asset x → Asset #

Generic XPub 
Instance details

Defined in Cardano.Crypto.Wallet

Associated Types

type Rep XPubTypeType #

Methods

fromXPubRep XPub x #

toRep XPub x → XPub #

Generic XPub 
Instance details

Defined in Cardano.Crypto.Wallet.Pure

Associated Types

type Rep XPubTypeType #

Methods

fromXPubRep XPub x #

toRep XPub x → XPub #

Generic Point 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep Point ∷ TypeType #

Methods

from ∷ Point → Rep Point x #

toRep Point x → Point #

Generic Output 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep OutputTypeType #

Methods

fromOutputRep Output x #

toRep Output x → Output #

Generic Proof 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep ProofTypeType #

Methods

fromProofRep Proof x #

toRep Proof x → Proof #

Generic SignKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep SignKeyTypeType #

Methods

fromSignKeyRep SignKey x #

toRep SignKey x → SignKey #

Generic VerKey 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep VerKeyTypeType #

Methods

fromVerKeyRep VerKey x #

toRep VerKey x → VerKey #

Generic Output 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep Output ∷ TypeType #

Methods

from ∷ Output → Rep Output x #

toRep Output x → Output #

Generic Proof 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep Proof ∷ TypeType #

Methods

from ∷ Proof → Rep Proof x #

toRep Proof x → Proof #

Generic SignKey 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep SignKey ∷ TypeType #

Methods

from ∷ SignKey → Rep SignKey x #

toRep SignKey x → SignKey #

Generic VerKey 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep VerKey ∷ TypeType #

Methods

from ∷ VerKey → Rep VerKey x #

toRep VerKey x → VerKey #

Generic ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Associated Types

type Rep ProtocolMagicIdTypeType #

Generic RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Associated Types

type Rep RequiresNetworkMagicTypeType #

Generic CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

Associated Types

type Rep CompactRedeemVerificationKeyTypeType #

Generic RedeemSigningKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.SigningKey

Associated Types

type Rep RedeemSigningKeyTypeType #

Generic RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

Associated Types

type Rep RedeemVerificationKeyTypeType #

Generic SignTag 
Instance details

Defined in Cardano.Crypto.Signing.Tag

Associated Types

type Rep SignTagTypeType #

Methods

fromSignTagRep SignTag x #

toRep SignTag x → SignTag #

Generic VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

Associated Types

type Rep VerificationKeyTypeType #

Generic ValidityInterval 
Instance details

Defined in Cardano.Ledger.Allegra.Scripts

Associated Types

type Rep ValidityIntervalTypeType #

Generic AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

Associated Types

type Rep AlonzoGenesisTypeType #

Generic LangDepView 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Associated Types

type Rep LangDepViewTypeType #

Generic FailureDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Associated Types

type Rep FailureDescriptionTypeType #

Generic TagMismatchDescription 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Associated Types

type Rep TagMismatchDescriptionTypeType #

Generic IsValid 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Associated Types

type Rep IsValidTypeType #

Methods

fromIsValidRep IsValid x #

toRep IsValid x → IsValid #

Generic Addr28Extra 
Instance details

Defined in Cardano.Ledger.Alonzo.TxOut

Associated Types

type Rep Addr28ExtraTypeType #

Generic DataHash32 
Instance details

Defined in Cardano.Ledger.Alonzo.TxOut

Associated Types

type Rep DataHash32TypeType #

Generic MemberStatus 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Associated Types

type Rep MemberStatusTypeType #

Generic NextEpochChange 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Associated Types

type Rep NextEpochChangeTypeType #

Generic ByteSpan 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Associated Types

type Rep ByteSpanTypeType #

Methods

fromByteSpanRep ByteSpan x #

toRep ByteSpan x → ByteSpan #

Generic ToSign 
Instance details

Defined in Cardano.Chain.Block.Header

Associated Types

type Rep ToSignTypeType #

Methods

fromToSignRep ToSign x #

toRep ToSign x → ToSign #

Generic Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

Associated Types

type Rep ProofTypeType #

Methods

fromProofRep Proof x #

toRep Proof x → Proof #

Generic ChainValidationState 
Instance details

Defined in Cardano.Chain.Block.Validation

Associated Types

type Rep ChainValidationStateTypeType #

Generic AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Associated Types

type Rep AddrAttributesTypeType #

Generic HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

Associated Types

type Rep HDAddressPayloadTypeType #

Generic AddrSpendingData 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Associated Types

type Rep AddrSpendingDataTypeType #

Generic AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

Associated Types

type Rep AddrTypeTypeType #

Methods

fromAddrTypeRep AddrType x #

toRep AddrType x → AddrType #

Generic Address 
Instance details

Defined in Cardano.Chain.Common.Address

Associated Types

type Rep AddressTypeType #

Methods

fromAddressRep Address x #

toRep Address x → Address #

Generic Address' 
Instance details

Defined in Cardano.Chain.Common.Address

Associated Types

type Rep Address'TypeType #

Methods

fromAddress'Rep Address' x #

toRep Address' x → Address' #

Generic UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

Associated Types

type Rep UnparsedFieldsTypeType #

Generic BlockCount 
Instance details

Defined in Cardano.Chain.Common.BlockCount

Associated Types

type Rep BlockCountTypeType #

Generic ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

Associated Types

type Rep ChainDifficultyTypeType #

Generic CompactAddress 
Instance details

Defined in Cardano.Chain.Common.Compact

Associated Types

type Rep CompactAddressTypeType #

Generic Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

Associated Types

type Rep LovelaceTypeType #

Methods

fromLovelaceRep Lovelace x #

toRep Lovelace x → Lovelace #

Generic LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

Associated Types

type Rep LovelacePortionTypeType #

Generic NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

Associated Types

type Rep NetworkMagicTypeType #

Generic TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

Associated Types

type Rep TxFeePolicyTypeType #

Generic TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

Associated Types

type Rep TxSizeLinearTypeType #

Generic Map 
Instance details

Defined in Cardano.Chain.Delegation.Map

Associated Types

type Rep MapTypeType #

Methods

fromMapRep Map x #

toRep Map x → Map #

Generic State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Activation

Associated Types

type Rep StateTypeType #

Methods

fromStateRep State x #

toRep State x → State #

Generic Environment 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Interface

Associated Types

type Rep EnvironmentTypeType #

Generic State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Interface

Associated Types

type Rep StateTypeType #

Methods

fromStateRep State x #

toRep State x → State #

Generic Environment 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Associated Types

type Rep EnvironmentTypeType #

Generic ScheduledDelegation 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Associated Types

type Rep ScheduledDelegationTypeType #

Generic State 
Instance details

Defined in Cardano.Chain.Delegation.Validation.Scheduling

Associated Types

type Rep StateTypeType #

Methods

fromStateRep State x #

toRep State x → State #

Generic Config 
Instance details

Defined in Cardano.Chain.Genesis.Config

Associated Types

type Rep ConfigTypeType #

Methods

fromConfigRep Config x #

toRep Config x → Config #

Generic GenesisData 
Instance details

Defined in Cardano.Chain.Genesis.Data

Associated Types

type Rep GenesisDataTypeType #

Generic GeneratedSecrets 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Associated Types

type Rep GeneratedSecretsTypeType #

Generic PoorSecret 
Instance details

Defined in Cardano.Chain.Genesis.Generate

Associated Types

type Rep PoorSecretTypeType #

Generic GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

Associated Types

type Rep GenesisHashTypeType #

Generic FakeAvvmOptions 
Instance details

Defined in Cardano.Chain.Genesis.Initializer

Associated Types

type Rep FakeAvvmOptionsTypeType #

Generic GenesisSpec 
Instance details

Defined in Cardano.Chain.Genesis.Spec

Associated Types

type Rep GenesisSpecTypeType #

Generic EpochAndSlotCount 
Instance details

Defined in Cardano.Chain.Slotting.EpochAndSlotCount

Associated Types

type Rep EpochAndSlotCountTypeType #

Generic EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

Associated Types

type Rep EpochNumberTypeType #

Generic EpochSlots 
Instance details

Defined in Cardano.Chain.Slotting.EpochSlots

Associated Types

type Rep EpochSlotsTypeType #

Generic SlotCount 
Instance details

Defined in Cardano.Chain.Slotting.SlotCount

Associated Types

type Rep SlotCountTypeType #

Methods

fromSlotCountRep SlotCount x #

toRep SlotCount x → SlotCount #

Generic SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

Associated Types

type Rep SlotNumberTypeType #

Generic SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

Associated Types

type Rep SscPayloadTypeType #

Generic SscProof 
Instance details

Defined in Cardano.Chain.Ssc

Associated Types

type Rep SscProofTypeType #

Methods

fromSscProofRep SscProof x #

toRep SscProof x → SscProof #

Generic CompactTxId 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Associated Types

type Rep CompactTxIdTypeType #

Generic CompactTxIn 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Associated Types

type Rep CompactTxInTypeType #

Generic CompactTxOut 
Instance details

Defined in Cardano.Chain.UTxO.Compact

Associated Types

type Rep CompactTxOutTypeType #

Generic Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep TxTypeType #

Methods

fromTxRep Tx x #

toRep Tx x → Tx #

Generic TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep TxInTypeType #

Methods

fromTxInRep TxIn x #

toRep TxIn x → TxIn #

Generic TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Associated Types

type Rep TxOutTypeType #

Methods

fromTxOutRep TxOut x #

toRep TxOut x → TxOut #

Generic TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

Associated Types

type Rep TxProofTypeType #

Methods

fromTxProofRep TxProof x #

toRep TxProof x → TxProof #

Generic TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Associated Types

type Rep TxInWitnessTypeType #

Generic TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

Associated Types

type Rep TxSigDataTypeType #

Methods

fromTxSigDataRep TxSigData x #

toRep TxSigData x → TxSigData #

Generic UTxO 
Instance details

Defined in Cardano.Chain.UTxO.UTxO

Associated Types

type Rep UTxOTypeType #

Methods

fromUTxORep UTxO x #

toRep UTxO x → UTxO #

Generic UTxOConfiguration 
Instance details

Defined in Cardano.Chain.UTxO.UTxOConfiguration

Associated Types

type Rep UTxOConfigurationTypeType #

Generic ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

Associated Types

type Rep ApplicationNameTypeType #

Generic InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

Associated Types

type Rep InstallerHashTypeType #

Generic ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

Associated Types

type Rep ProposalBodyTypeType #

Generic ProtocolParameters 
Instance details

Defined in Cardano.Chain.Update.ProtocolParameters

Associated Types

type Rep ProtocolParametersTypeType #

Generic ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

Associated Types

type Rep ProtocolParametersUpdateTypeType #

Generic ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

Associated Types

type Rep ProtocolVersionTypeType #

Generic SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

Associated Types

type Rep SoftforkRuleTypeType #

Generic SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

Associated Types

type Rep SoftwareVersionTypeType #

Generic SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

Associated Types

type Rep SystemTagTypeType #

Methods

fromSystemTagRep SystemTag x #

toRep SystemTag x → SystemTag #

Generic CandidateProtocolUpdate 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Associated Types

type Rep CandidateProtocolUpdateTypeType #

Generic Endorsement 
Instance details

Defined in Cardano.Chain.Update.Validation.Endorsement

Associated Types

type Rep EndorsementTypeType #

Generic State 
Instance details

Defined in Cardano.Chain.Update.Validation.Interface

Associated Types

type Rep StateTypeType #

Methods

fromStateRep State x #

toRep State x → State #

Generic ApplicationVersion 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Associated Types

type Rep ApplicationVersionTypeType #

Generic ProtocolUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Associated Types

type Rep ProtocolUpdateProposalTypeType #

Generic SoftwareUpdateProposal 
Instance details

Defined in Cardano.Chain.Update.Validation.Registration

Associated Types

type Rep SoftwareUpdateProposalTypeType #

Generic Environment 
Instance details

Defined in Cardano.Chain.Update.Validation.Voting

Associated Types

type Rep EnvironmentTypeType #

Generic RegistrationEnvironment 
Instance details

Defined in Cardano.Chain.Update.Validation.Voting

Associated Types

type Rep RegistrationEnvironmentTypeType #

Generic GovActionIx 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep GovActionIxTypeType #

Generic Vote 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep VoteTypeType #

Methods

fromVoteRep Vote x #

toRep Vote x → Vote #

Generic DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Associated Types

type Rep DRepVotingThresholdsTypeType #

Generic PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Associated Types

type Rep PoolVotingThresholdsTypeType #

Generic ActiveSlotCoeff 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep ActiveSlotCoeffTypeType #

Generic DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep DnsNameTypeType #

Methods

fromDnsNameRep DnsName x #

toRep DnsName x → DnsName #

Generic EpochInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep EpochIntervalTypeType #

Generic Globals 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep GlobalsTypeType #

Methods

fromGlobalsRep Globals x #

toRep Globals x → Globals #

Generic Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep NetworkTypeType #

Methods

fromNetworkRep Network x #

toRep Network x → Network #

Generic NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep NonNegativeIntervalTypeType #

Generic Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep NonceTypeType #

Methods

fromNonceRep Nonce x #

toRep Nonce x → Nonce #

Generic Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep PortTypeType #

Methods

fromPortRep Port x #

toRep Port x → Port #

Generic PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep PositiveIntervalTypeType #

Generic PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep PositiveUnitIntervalTypeType #

Generic ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep ProtVerTypeType #

Methods

fromProtVerRep ProtVer x #

toRep ProtVer x → ProtVer #

Generic Seed 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep SeedTypeType #

Methods

fromSeedRep Seed x #

toRep Seed x → Seed #

Generic TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep TxIxTypeType #

Methods

fromTxIxRep TxIx x #

toRep TxIx x → TxIx #

Generic UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep UnitIntervalTypeType #

Generic Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep UrlTypeType #

Methods

fromUrlRep Url x #

toRep Url x → Url #

Generic Coin 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

type Rep CoinTypeType #

Methods

fromCoinRep Coin x #

toRep Coin x → Coin #

Generic DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

Associated Types

type Rep DeltaCoinTypeType #

Methods

fromDeltaCoinRep DeltaCoin x #

toRep DeltaCoin x → DeltaCoin #

Generic Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Associated Types

type Rep PtrTypeType #

Methods

fromPtrRep Ptr x #

toRep Ptr x → Ptr #

Generic ChainCode 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Associated Types

type Rep ChainCodeTypeType #

Methods

fromChainCodeRep ChainCode x #

toRep ChainCode x → ChainCode #

Generic CostModel 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Associated Types

type Rep CostModelTypeType #

Methods

fromCostModelRep CostModel x #

toRep CostModel x → CostModel #

Generic CostModelError 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Associated Types

type Rep CostModelErrorTypeType #

Generic CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

Associated Types

type Rep CostModelsTypeType #

Generic ScriptFailure 
Instance details

Defined in Cardano.Ledger.Plutus.Evaluate

Associated Types

type Rep ScriptFailureTypeType #

Generic ScriptResult 
Instance details

Defined in Cardano.Ledger.Plutus.Evaluate

Associated Types

type Rep ScriptResultTypeType #

Generic ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Associated Types

type Rep ExUnitsTypeType #

Methods

fromExUnitsRep ExUnits x #

toRep ExUnits x → ExUnits #

Generic Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Associated Types

type Rep PricesTypeType #

Methods

fromPricesRep Prices x #

toRep Prices x → Prices #

Generic Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Associated Types

type Rep LanguageTypeType #

Methods

fromLanguageRep Language x #

toRep Language x → Language #

Generic PlutusBinary 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Associated Types

type Rep PlutusBinaryTypeType #

Generic PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep PoolMetadataTypeType #

Generic StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep StakePoolRelayTypeType #

Generic RewardType 
Instance details

Defined in Cardano.Ledger.Rewards

Associated Types

type Rep RewardTypeTypeType #

Generic Duration 
Instance details

Defined in Cardano.Ledger.Slot

Associated Types

type Rep DurationTypeType #

Methods

fromDurationRep Duration x #

toRep Duration x → Duration #

Generic RDPair 
Instance details

Defined in Cardano.Ledger.UMap

Associated Types

type Rep RDPairTypeType #

Methods

fromRDPairRep RDPair x #

toRep RDPair x → RDPair #

Generic ByronKeyPair 
Instance details

Defined in Test.Cardano.Ledger.Core.KeyPair

Associated Types

type Rep ByronKeyPair ∷ TypeType #

Methods

from ∷ ByronKeyPair → Rep ByronKeyPair x #

toRep ByronKeyPair x → ByronKeyPair #

Generic ChainChecksPParams 
Instance details

Defined in Cardano.Ledger.Chain

Associated Types

type Rep ChainChecksPParamsTypeType #

Generic ChainPredicateFailure 
Instance details

Defined in Cardano.Ledger.Chain

Associated Types

type Rep ChainPredicateFailureTypeType #

Generic RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Associated Types

type Rep RewardInfoPoolTypeType #

Generic RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

Associated Types

type Rep RewardParamsTypeType #

Generic NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep NominalDiffTimeMicroTypeType #

Generic AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep AccountStateTypeType #

Generic Histogram 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Associated Types

type Rep HistogramTypeType #

Methods

fromHistogramRep Histogram x #

toRep Histogram x → Histogram #

Generic Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Associated Types

type Rep LikelihoodTypeType #

Generic LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Associated Types

type Rep LogWeightTypeType #

Methods

fromLogWeightRep LogWeight x #

toRep LogWeight x → LogWeight #

Generic PerformanceEstimate 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Associated Types

type Rep PerformanceEstimateTypeType #

Generic Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Associated Types

type Rep DesirabilityTypeType #

Generic StakeShare 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Associated Types

type Rep StakeShareTypeType #

Generic VotingPeriod 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Associated Types

type Rep VotingPeriodTypeType #

Generic Metadatum 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Associated Types

type Rep MetadatumTypeType #

Methods

fromMetadatumRep Metadatum x #

toRep Metadatum x → Metadatum #

Generic MIRPot 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep MIRPotTypeType #

Methods

fromMIRPotRep MIRPot x #

toRep MIRPot x → MIRPot #

Generic NetworkP2PMode 
Instance details

Defined in Cardano.Node.Configuration.POM

Associated Types

type Rep NetworkP2PModeTypeType #

Generic PartialNodeConfiguration 
Instance details

Defined in Cardano.Node.Configuration.POM

Associated Types

type Rep PartialNodeConfigurationTypeType #

Generic ShutdownOn 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

Associated Types

type Rep ShutdownOnTypeType #

Generic ShutdownTrace 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

Associated Types

type Rep ShutdownTraceTypeType #

Generic Protocol 
Instance details

Defined in Cardano.Node.Protocol.Types

Associated Types

type Rep ProtocolTypeType #

Methods

fromProtocolRep Protocol x #

toRep Protocol x → Protocol #

Generic NodeInfo 
Instance details

Defined in Cardano.Node.Startup

Associated Types

type Rep NodeInfoTypeType #

Methods

fromNodeInfoRep NodeInfo x #

toRep NodeInfo x → NodeInfo #

Generic NodeStartupInfo 
Instance details

Defined in Cardano.Node.Startup

Associated Types

type Rep NodeStartupInfoTypeType #

Generic PartialTraceSelection 
Instance details

Defined in Cardano.Tracing.Config

Associated Types

type Rep PartialTraceSelectionTypeType #

Generic InitiatorOnly 
Instance details

Defined in Cardano.Network.Ping

Associated Types

type Rep InitiatorOnlyTypeType #

Generic PeerSharing 
Instance details

Defined in Cardano.Network.Ping

Associated Types

type Rep PeerSharing ∷ TypeType #

Methods

from ∷ PeerSharing → Rep PeerSharing x #

toRep PeerSharing x → PeerSharing #

Generic KESPeriod 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep KESPeriodTypeType #

Methods

fromKESPeriodRep KESPeriod x #

toRep KESPeriod x → KESPeriod #

Generic TicknPredicateFailure 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Tickn

Associated Types

type Rep TicknPredicateFailureTypeType #

Generic TicknState 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Tickn

Associated Types

type Rep TicknStateTypeType #

Generic BlockNo 
Instance details

Defined in Cardano.Slotting.Block

Associated Types

type Rep BlockNoTypeType #

Methods

fromBlockNoRep BlockNo x #

toRep BlockNo x → BlockNo #

Generic EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochNoTypeType #

Methods

fromEpochNoRep EpochNo x #

toRep EpochNo x → EpochNo #

Generic EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep EpochSizeTypeType #

Methods

fromEpochSizeRep EpochSize x #

toRep EpochSize x → EpochSize #

Generic SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep SlotNoTypeType #

Methods

fromSlotNoRep SlotNo x #

toRep SlotNo x → SlotNo #

Generic RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep RelativeTimeTypeType #

Generic SlotLength 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep SlotLengthTypeType #

Generic SystemStart 
Instance details

Defined in Cardano.Slotting.Time

Associated Types

type Rep SystemStartTypeType #

Generic LeadershipSlot 
Instance details

Defined in Testnet.Runtime

Associated Types

type Rep LeadershipSlotTypeType #

Generic Address 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Address

Associated Types

type Rep AddressTypeType #

Methods

fromAddressRep Address x #

toRep Address x → Address #

Generic AddressState 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Address

Associated Types

type Rep AddressStateTypeType #

Generic AssetId 
Instance details

Defined in Cardano.Wallet.Primitive.Types.AssetId

Associated Types

type Rep AssetIdTypeType #

Methods

fromAssetIdRep AssetId x #

toRep AssetId x → AssetId #

Generic AssetName 
Instance details

Defined in Cardano.Wallet.Primitive.Types.AssetName

Associated Types

type Rep AssetNameTypeType #

Methods

fromAssetNameRep AssetName x #

toRep AssetName x → AssetName #

Generic Coin 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Coin

Associated Types

type Rep CoinTypeType #

Methods

fromCoinRep Coin x #

toRep Coin x → Coin #

Generic TokenBundle 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenBundle

Associated Types

type Rep TokenBundleTypeType #

Generic TokenMap 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenMap

Associated Types

type Rep TokenMapTypeType #

Methods

fromTokenMapRep TokenMap x #

toRep TokenMap x → TokenMap #

Generic TokenPolicyId 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenPolicyId

Associated Types

type Rep TokenPolicyIdTypeType #

Generic TokenQuantity 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenQuantity

Associated Types

type Rep TokenQuantityTypeType #

Generic TxConstraints 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Tx.Constraints

Associated Types

type Rep TxConstraintsTypeType #

Generic TxSize 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Tx.Constraints

Associated Types

type Rep TxSizeTypeType #

Methods

fromTxSizeRep TxSize x #

toRep TxSize x → TxSize #

Generic TxIn 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Tx.TxIn

Associated Types

type Rep TxInTypeType #

Methods

fromTxInRep TxIn x #

toRep TxIn x → TxIn #

Generic TxOut 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Tx.TxOut

Associated Types

type Rep TxOutTypeType #

Methods

fromTxOutRep TxOut x #

toRep TxOut x → TxOut #

Generic DeltaUTxO 
Instance details

Defined in Cardano.Wallet.Primitive.Types.UTxO

Associated Types

type Rep DeltaUTxOTypeType #

Methods

fromDeltaUTxORep DeltaUTxO x #

toRep DeltaUTxO x → DeltaUTxO #

Generic UTxO 
Instance details

Defined in Cardano.Wallet.Primitive.Types.UTxO

Associated Types

type Rep UTxOTypeType #

Methods

fromUTxORep UTxO x #

toRep UTxO x → UTxO #

Generic SlotConfig 
Instance details

Defined in Clb.TimeSlot

Associated Types

type Rep SlotConfigTypeType #

Generic Clock 
Instance details

Defined in System.Clock

Associated Types

type Rep ClockTypeType #

Methods

fromClockRep Clock x #

toRep Clock x → Clock #

Generic TimeSpec 
Instance details

Defined in System.Clock

Associated Types

type Rep TimeSpecTypeType #

Methods

fromTimeSpecRep TimeSpec x #

toRep TimeSpec x → TimeSpec #

Generic MetricValue 
Instance details

Defined in System.Metrics.ReqResp

Associated Types

type Rep MetricValueTypeType #

Generic Request 
Instance details

Defined in System.Metrics.ReqResp

Associated Types

type Rep RequestTypeType #

Methods

fromRequestRep Request x #

toRep Request x → Request #

Generic Response 
Instance details

Defined in System.Metrics.ReqResp

Associated Types

type Rep ResponseTypeType #

Methods

fromResponseRep Response x #

toRep Response x → Response #

Generic OsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep OsCharTypeType #

Methods

fromOsCharRep OsChar x #

toRep OsChar x → OsChar #

Generic OsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep OsStringTypeType #

Methods

fromOsStringRep OsString x #

toRep OsString x → OsString #

Generic PosixChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep PosixCharTypeType #

Methods

fromPosixCharRep PosixChar x #

toRep PosixChar x → PosixChar #

Generic PosixString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep PosixStringTypeType #

Generic WindowsChar 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep WindowsCharTypeType #

Generic WindowsString 
Instance details

Defined in System.OsString.Internal.Types.Hidden

Associated Types

type Rep WindowsStringTypeType #

Generic Filler 
Instance details

Defined in Flat.Filler

Associated Types

type Rep FillerTypeType #

Methods

fromFillerRep Filler x #

toRep Filler x → Filler #

Generic FsPath 
Instance details

Defined in System.FS.API.Types

Associated Types

type Rep FsPathTypeType #

Methods

fromFsPathRep FsPath x #

toRep FsPath x → FsPath #

Generic CRC 
Instance details

Defined in System.FS.CRC

Associated Types

type Rep CRCTypeType #

Methods

fromCRCRep CRC x #

toRep CRC x → CRC #

Generic ForeignSrcLang 
Instance details

Defined in GHC.ForeignSrcLang.Type

Associated Types

type Rep ForeignSrcLangTypeType #

Generic Extension 
Instance details

Defined in GHC.LanguageExtensions.Type

Associated Types

type Rep ExtensionTypeType #

Methods

fromExtensionRep Extension x #

toRep Extension x → Extension #

Generic ClosureType 
Instance details

Defined in GHC.Exts.Heap.ClosureTypes

Associated Types

type Rep ClosureTypeTypeType #

Generic PrimType 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep PrimTypeTypeType #

Methods

fromPrimTypeRep PrimType x #

toRep PrimType x → PrimType #

Generic TsoFlags 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep TsoFlagsTypeType #

Methods

fromTsoFlagsRep TsoFlags x #

toRep TsoFlags x → TsoFlags #

Generic WhatNext 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep WhatNextTypeType #

Methods

fromWhatNextRep WhatNext x #

toRep WhatNext x → WhatNext #

Generic WhyBlocked 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep WhyBlockedTypeType #

Generic StgInfoTable 
Instance details

Defined in GHC.Exts.Heap.InfoTable.Types

Associated Types

type Rep StgInfoTableTypeType #

Generic CostCentre 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep CostCentreTypeType #

Generic CostCentreStack 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep CostCentreStackTypeType #

Generic IndexTable 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep IndexTableTypeType #

Generic StgTSOProfInfo 
Instance details

Defined in GHC.Exts.Heap.ProfInfo.Types

Associated Types

type Rep StgTSOProfInfoTypeType #

Generic Ordering 
Instance details

Defined in GHC.Generics

Associated Types

type Rep OrderingTypeType #

Methods

fromOrderingRep Ordering x #

toRep Ordering x → Ordering #

Generic Half 
Instance details

Defined in Numeric.Half.Internal

Associated Types

type Rep HalfTypeType #

Methods

fromHalfRep Half x #

toRep Half x → Half #

Generic Component 
Instance details

Defined in Hedgehog.Extras.Internal.Plan

Associated Types

type Rep ComponentTypeType #

Methods

fromComponentRep Component x #

toRep Component x → Component #

Generic Plan 
Instance details

Defined in Hedgehog.Extras.Internal.Plan

Associated Types

type Rep PlanTypeType #

Methods

fromPlanRep Plan x #

toRep Plan x → Plan #

Generic IntegrationState 
Instance details

Defined in Hedgehog.Extras.Internal.Test.Integration

Associated Types

type Rep IntegrationStateTypeType #

Generic Sprocket 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Network.Sprocket

Associated Types

type Rep SprocketTypeType #

Methods

fromSprocketRep Sprocket x #

toRep Sprocket x → Sprocket #

Generic TimedOut 
Instance details

Defined in Hedgehog.Extras.Stock.IO.Process

Associated Types

type Rep TimedOutTypeType #

Methods

fromTimedOutRep TimedOut x #

toRep TimedOut x → TimedOut #

Generic ExecConfig 
Instance details

Defined in Hedgehog.Extras.Test.Process

Associated Types

type Rep ExecConfigTypeType #

Generic Form 
Instance details

Defined in Web.Internal.FormUrlEncoded

Associated Types

type Rep FormTypeType #

Methods

fromFormRep Form x #

toRep Form x → Form #

Generic ByteRange 
Instance details

Defined in Network.HTTP.Types.Header

Associated Types

type Rep ByteRangeTypeType #

Methods

fromByteRangeRep ByteRange x #

toRep ByteRange x → ByteRange #

Generic StdMethod 
Instance details

Defined in Network.HTTP.Types.Method

Associated Types

type Rep StdMethodTypeType #

Methods

fromStdMethodRep StdMethod x #

toRep StdMethod x → StdMethod #

Generic Status 
Instance details

Defined in Network.HTTP.Types.Status

Associated Types

type Rep StatusTypeType #

Methods

fromStatusRep Status x #

toRep Status x → Status #

Generic HttpVersion 
Instance details

Defined in Network.HTTP.Types.Version

Associated Types

type Rep HttpVersionTypeType #

Generic Aggregated 
Instance details

Defined in Cardano.BM.Data.Aggregated

Associated Types

type Rep AggregatedTypeType #

Generic BaseStats 
Instance details

Defined in Cardano.BM.Data.Aggregated

Associated Types

type Rep BaseStatsTypeType #

Methods

fromBaseStatsRep BaseStats x #

toRep BaseStats x → BaseStats #

Generic EWMA 
Instance details

Defined in Cardano.BM.Data.Aggregated

Associated Types

type Rep EWMATypeType #

Methods

fromEWMARep EWMA x #

toRep EWMA x → EWMA #

Generic Measurable 
Instance details

Defined in Cardano.BM.Data.Aggregated

Associated Types

type Rep MeasurableTypeType #

Generic Stats 
Instance details

Defined in Cardano.BM.Data.Aggregated

Associated Types

type Rep StatsTypeType #

Methods

fromStatsRep Stats x #

toRep Stats x → Stats #

Generic AggregatedKind 
Instance details

Defined in Cardano.BM.Data.AggregatedKind

Associated Types

type Rep AggregatedKindTypeType #

Generic Endpoint 
Instance details

Defined in Cardano.BM.Data.Configuration

Associated Types

type Rep EndpointTypeType #

Methods

fromEndpointRep Endpoint x #

toRep Endpoint x → Endpoint #

Generic RemoteAddr 
Instance details

Defined in Cardano.BM.Data.Configuration

Associated Types

type Rep RemoteAddrTypeType #

Generic RemoteAddrNamed 
Instance details

Defined in Cardano.BM.Data.Configuration

Associated Types

type Rep RemoteAddrNamedTypeType #

Generic Representation 
Instance details

Defined in Cardano.BM.Data.Configuration

Associated Types

type Rep RepresentationTypeType #

Generic Counter 
Instance details

Defined in Cardano.BM.Data.Counter

Associated Types

type Rep CounterTypeType #

Methods

fromCounterRep Counter x #

toRep Counter x → Counter #

Generic CounterState 
Instance details

Defined in Cardano.BM.Data.Counter

Associated Types

type Rep CounterStateTypeType #

Generic CounterType 
Instance details

Defined in Cardano.BM.Data.Counter

Associated Types

type Rep CounterTypeTypeType #

Generic ObservableInstance 
Instance details

Defined in Cardano.BM.Data.Observable

Associated Types

type Rep ObservableInstanceTypeType #

Generic ScribeDefinition 
Instance details

Defined in Cardano.BM.Data.Output

Associated Types

type Rep ScribeDefinitionTypeType #

Generic ScribeFormat 
Instance details

Defined in Cardano.BM.Data.Output

Associated Types

type Rep ScribeFormatTypeType #

Generic ScribeKind 
Instance details

Defined in Cardano.BM.Data.Output

Associated Types

type Rep ScribeKindTypeType #

Generic ScribePrivacy 
Instance details

Defined in Cardano.BM.Data.Output

Associated Types

type Rep ScribePrivacyTypeType #

Generic RotationParameters 
Instance details

Defined in Cardano.BM.Data.Rotation

Associated Types

type Rep RotationParametersTypeType #

Generic Severity 
Instance details

Defined in Cardano.BM.Data.Severity

Associated Types

type Rep SeverityTypeType #

Methods

fromSeverityRep Severity x #

toRep Severity x → Severity #

Generic DropName 
Instance details

Defined in Cardano.BM.Data.SubTrace

Associated Types

type Rep DropNameTypeType #

Methods

fromDropNameRep DropName x #

toRep DropName x → DropName #

Generic NameSelector 
Instance details

Defined in Cardano.BM.Data.SubTrace

Associated Types

type Rep NameSelectorTypeType #

Generic SubTrace 
Instance details

Defined in Cardano.BM.Data.SubTrace

Associated Types

type Rep SubTraceTypeType #

Methods

fromSubTraceRep SubTrace x #

toRep SubTrace x → SubTrace #

Generic UnhideNames 
Instance details

Defined in Cardano.BM.Data.SubTrace

Associated Types

type Rep UnhideNamesTypeType #

Generic IP 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IPTypeType #

Methods

fromIPRep IP x #

toRep IP x → IP #

Generic IPv4 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IPv4TypeType #

Methods

fromIPv4Rep IPv4 x #

toRep IPv4 x → IPv4 #

Generic IPv6 
Instance details

Defined in Data.IP.Addr

Associated Types

type Rep IPv6TypeType #

Methods

fromIPv6Rep IPv6 x #

toRep IPv6 x → IPv6 #

Generic IPRange 
Instance details

Defined in Data.IP.Range

Associated Types

type Rep IPRangeTypeType #

Methods

fromIPRangeRep IPRange x #

toRep IPRange x → IPRange #

Generic Environment 
Instance details

Defined in Katip.Core

Associated Types

type Rep EnvironmentTypeType #

Generic LogStr 
Instance details

Defined in Katip.Core

Associated Types

type Rep LogStrTypeType #

Methods

fromLogStrRep LogStr x #

toRep LogStr x → LogStr #

Generic Namespace 
Instance details

Defined in Katip.Core

Associated Types

type Rep NamespaceTypeType #

Methods

fromNamespaceRep Namespace x #

toRep Namespace x → Namespace #

Generic Severity 
Instance details

Defined in Katip.Core

Associated Types

type Rep SeverityTypeType #

Methods

fromSeverityRep Severity x #

toRep Severity x → Severity #

Generic Verbosity 
Instance details

Defined in Katip.Core

Associated Types

type Rep VerbosityTypeType #

Methods

fromVerbosityRep Verbosity x #

toRep Verbosity x → Verbosity #

Generic ApiError 
Instance details

Defined in Maestro.Client.Error

Associated Types

type Rep ApiErrorTypeType #

Methods

fromApiErrorRep ApiError x #

toRep ApiError x → ApiError #

Generic AbsoluteSlot 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep AbsoluteSlotTypeType #

Generic BlockHash 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep BlockHashTypeType #

Methods

fromBlockHashRep BlockHash x #

toRep BlockHash x → BlockHash #

Generic BlockHeight 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep BlockHeightTypeType #

Generic DatumOption 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep DatumOptionTypeType #

Generic DatumOptionType 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep DatumOptionTypeTypeType #

Generic EpochNo 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep EpochNoTypeType #

Methods

fromEpochNoRep EpochNo x #

toRep EpochNo x → EpochNo #

Generic EpochSize 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep EpochSizeTypeType #

Methods

fromEpochSizeRep EpochSize x #

toRep EpochSize x → EpochSize #

Generic PolicyId 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep PolicyIdTypeType #

Methods

fromPolicyIdRep PolicyId x #

toRep PolicyId x → PolicyId #

Generic Script 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep ScriptTypeType #

Methods

fromScriptRep Script x #

toRep Script x → Script #

Generic ScriptType 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep ScriptTypeTypeType #

Generic SlotNo 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep SlotNoTypeType #

Methods

fromSlotNoRep SlotNo x #

toRep SlotNo x → SlotNo #

Generic TokenName 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep TokenNameTypeType #

Methods

fromTokenNameRep TokenName x #

toRep TokenName x → TokenName #

Generic TxHash 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep TxHashTypeType #

Methods

fromTxHashRep TxHash x #

toRep TxHash x → TxHash #

Generic TxIndex 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep TxIndexTypeType #

Methods

fromTxIndexRep TxIndex x #

toRep TxIndex x → TxIndex #

Generic AccountAction 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountAction ∷ TypeType #

Methods

from ∷ AccountAction → Rep AccountAction x #

toRep AccountAction x → AccountAction #

Generic AccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountHistoryTypeType #

Generic AccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountInfoTypeType #

Generic AccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountRewardTypeType #

Generic AccountStakingRewardType 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountStakingRewardTypeTypeType #

Generic AccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep AccountUpdateTypeType #

Generic PaginatedAccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountHistoryTypeType #

Generic PaginatedAccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountRewardTypeType #

Generic PaginatedAccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAccountUpdateTypeType #

Generic PaginatedAddress 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAddressTypeType #

Generic PaginatedAsset 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep PaginatedAssetTypeType #

Generic TimestampedAccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

Associated Types

type Rep TimestampedAccountInfoTypeType #

Generic AddressInfo 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep AddressInfoTypeType #

Generic AddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep AddressTransactionTypeType #

Generic CertIndex 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep CertIndexTypeType #

Methods

fromCertIndexRep CertIndex x #

toRep CertIndex x → CertIndex #

Generic ChainPointer 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep ChainPointerTypeType #

Generic NetworkId 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep NetworkIdTypeType #

Methods

fromNetworkIdRep NetworkId x #

toRep NetworkId x → NetworkId #

Generic OutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep OutputReferenceObjectTypeType #

Generic PaginatedAddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaginatedAddressTransactionTypeType #

Generic PaginatedOutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaginatedOutputReferenceObjectTypeType #

Generic PaginatedPaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaginatedPaymentCredentialTransactionTypeType #

Generic PaymentCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaymentCredKindTypeType #

Generic PaymentCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaymentCredentialTypeType #

Generic PaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep PaymentCredentialTransactionTypeType #

Generic StakingCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep StakingCredKindTypeType #

Generic StakingCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

Associated Types

type Rep StakingCredentialTypeType #

Generic AssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

Associated Types

type Rep AssetInfoTypeType #

Methods

fromAssetInfoRep AssetInfo x #

toRep AssetInfo x → AssetInfo #

Generic TimestampedAssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

Associated Types

type Rep TimestampedAssetInfoTypeType #

Generic TokenRegistryMetadata 
Instance details

Defined in Maestro.Types.V1.Assets

Associated Types

type Rep TokenRegistryMetadataTypeType #

Generic BlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

Associated Types

type Rep BlockDetailsTypeType #

Generic TimestampedBlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

Associated Types

type Rep TimestampedBlockDetailsTypeType #

Generic Asset 
Instance details

Defined in Maestro.Types.V1.Common

Associated Types

type Rep AssetTypeType #

Methods

fromAssetRep Asset x #

toRep Asset x → Asset #

Generic PaginatedUtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

Associated Types

type Rep PaginatedUtxoWithSlotTypeType #

Generic UtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

Associated Types

type Rep UtxoWithSlotTypeType #

Generic NextCursor 
Instance details

Defined in Maestro.Types.V1.Common.Pagination

Associated Types

type Rep NextCursorTypeType #

Generic LastUpdated 
Instance details

Defined in Maestro.Types.V1.Common.Timestamped

Associated Types

type Rep LastUpdatedTypeType #

Generic Datum 
Instance details

Defined in Maestro.Types.V1.Datum

Associated Types

type Rep DatumTypeType #

Methods

fromDatumRep Datum x #

toRep Datum x → Datum #

Generic TimestampedDatum 
Instance details

Defined in Maestro.Types.V1.Datum

Associated Types

type Rep TimestampedDatumTypeType #

Generic Dex 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Associated Types

type Rep DexTypeType #

Methods

fromDexRep Dex x #

toRep Dex x → Dex #

Generic DexPairInfo 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Associated Types

type Rep DexPairInfoTypeType #

Generic DexPairResponse 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Associated Types

type Rep DexPairResponseTypeType #

Generic OHLCCandleInfo 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Associated Types

type Rep OHLCCandleInfoTypeType #

Generic Resolution 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Associated Types

type Rep ResolutionTypeType #

Generic ChainTip 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ChainTipTypeType #

Methods

fromChainTipRep ChainTip x #

toRep ChainTip x → ChainTip #

Generic CostModels 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep CostModelsTypeType #

Generic EraBound 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraBoundTypeType #

Methods

fromEraBoundRep EraBound x #

toRep EraBound x → EraBound #

Generic EraParameters 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraParametersTypeType #

Generic EraSummary 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep EraSummaryTypeType #

Generic ProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolParametersTypeType #

Generic ProtocolVersion 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep ProtocolVersionTypeType #

Generic TimestampedChainTip 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedChainTipTypeType #

Generic TimestampedEraSummaries 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedEraSummariesTypeType #

Generic TimestampedProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedProtocolParametersTypeType #

Generic TimestampedSystemStart 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep TimestampedSystemStartTypeType #

Generic PaginatedPoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

Associated Types

type Rep PaginatedPoolListInfoTypeType #

Generic PoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

Associated Types

type Rep PoolListInfoTypeType #

Generic PaginatedUtxo 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep PaginatedUtxoTypeType #

Generic TimestampedTxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep TimestampedTxDetailsTypeType #

Generic TxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep TxDetailsTypeType #

Methods

fromTxDetailsRep TxDetails x #

toRep TxDetails x → TxDetails #

Generic UtxoWithBytes 
Instance details

Defined in Maestro.Types.V1.Transactions

Associated Types

type Rep UtxoWithBytesTypeType #

Generic NewtonParam 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep NewtonParamTypeType #

Generic NewtonStep 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep NewtonStepTypeType #

Generic RiddersParam 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep RiddersParamTypeType #

Generic RiddersStep 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep RiddersStepTypeType #

Generic Tolerance 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep ToleranceTypeType #

Methods

fromToleranceRep Tolerance x #

toRep Tolerance x → Tolerance #

Generic InvalidPosException 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep InvalidPosExceptionTypeType #

Generic Pos 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep PosTypeType #

Methods

fromPosRep Pos x #

toRep Pos x → Pos #

Generic SourcePos 
Instance details

Defined in Text.Megaparsec.Pos

Associated Types

type Rep SourcePosTypeType #

Methods

fromSourcePosRep SourcePos x #

toRep SourcePos x → SourcePos #

Generic MuxError 
Instance details

Defined in Network.Mux.Trace

Associated Types

type Rep MuxErrorTypeType #

Methods

fromMuxErrorRep MuxError x #

toRep MuxError x → MuxError #

Generic SDUSize 
Instance details

Defined in Network.Mux.Types

Associated Types

type Rep SDUSizeTypeType #

Methods

fromSDUSizeRep SDUSize x #

toRep SDUSize x → SDUSize #

Generic URI 
Instance details

Defined in Network.URI

Associated Types

type Rep URITypeType #

Methods

fromURIRep URI x #

toRep URI x → URI #

Generic URIAuth 
Instance details

Defined in Network.URI

Associated Types

type Rep URIAuthTypeType #

Methods

fromURIAuthRep URIAuth x #

toRep URIAuth x → URIAuth #

Generic ApiKeyLocation 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ApiKeyLocationTypeType #

Generic ApiKeyParams 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ApiKeyParamsTypeType #

Generic Callback 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep CallbackTypeType #

Methods

fromCallbackRep Callback x #

toRep Callback x → Callback #

Generic Components 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ComponentsTypeType #

Generic Contact 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ContactTypeType #

Methods

fromContactRep Contact x #

toRep Contact x → Contact #

Generic Discriminator 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep DiscriminatorTypeType #

Generic Encoding 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep EncodingTypeType #

Methods

fromEncodingRep Encoding x #

toRep Encoding x → Encoding #

Generic Example 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ExampleTypeType #

Methods

fromExampleRep Example x #

toRep Example x → Example #

Generic ExpressionOrValue 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ExpressionOrValueTypeType #

Generic ExternalDocs 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ExternalDocsTypeType #

Generic Header 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep HeaderTypeType #

Methods

fromHeaderRep Header x #

toRep Header x → Header #

Generic HttpSchemeType 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep HttpSchemeTypeTypeType #

Generic Info 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep InfoTypeType #

Methods

fromInfoRep Info x #

toRep Info x → Info #

Generic License 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep LicenseTypeType #

Methods

fromLicenseRep License x #

toRep License x → License #

Generic Link 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep LinkTypeType #

Methods

fromLinkRep Link x #

toRep Link x → Link #

Generic MediaTypeObject 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep MediaTypeObjectTypeType #

Generic NamedSchema 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep NamedSchemaTypeType #

Generic OAuth2AuthorizationCodeFlow 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OAuth2AuthorizationCodeFlowTypeType #

Generic OAuth2ClientCredentialsFlow 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OAuth2ClientCredentialsFlowTypeType #

Generic OAuth2Flows 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OAuth2FlowsTypeType #

Generic OAuth2ImplicitFlow 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OAuth2ImplicitFlowTypeType #

Generic OAuth2PasswordFlow 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OAuth2PasswordFlowTypeType #

Generic OpenApi 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OpenApiTypeType #

Methods

fromOpenApiRep OpenApi x #

toRep OpenApi x → OpenApi #

Generic OpenApiSpecVersion 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OpenApiSpecVersionTypeType #

Generic OpenApiType 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OpenApiTypeTypeType #

Generic Operation 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep OperationTypeType #

Methods

fromOperationRep Operation x #

toRep Operation x → Operation #

Generic Param 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ParamTypeType #

Methods

fromParamRep Param x #

toRep Param x → Param #

Generic ParamLocation 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ParamLocationTypeType #

Generic PathItem 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep PathItemTypeType #

Methods

fromPathItemRep PathItem x #

toRep PathItem x → PathItem #

Generic RequestBody 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep RequestBodyTypeType #

Generic Response 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ResponseTypeType #

Methods

fromResponseRep Response x #

toRep Response x → Response #

Generic Responses 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ResponsesTypeType #

Methods

fromResponsesRep Responses x #

toRep Responses x → Responses #

Generic Schema 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep SchemaTypeType #

Methods

fromSchemaRep Schema x #

toRep Schema x → Schema #

Generic SecurityDefinitions 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep SecurityDefinitionsTypeType #

Generic SecurityScheme 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep SecuritySchemeTypeType #

Generic SecuritySchemeType 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep SecuritySchemeTypeTypeType #

Generic Server 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ServerTypeType #

Methods

fromServerRep Server x #

toRep Server x → Server #

Generic ServerVariable 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep ServerVariableTypeType #

Generic Style 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep StyleTypeType #

Methods

fromStyleRep Style x #

toRep Style x → Style #

Generic Tag 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep TagTypeType #

Methods

fromTagRep Tag x #

toRep Tag x → Tag #

Generic Xml 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep XmlTypeType #

Methods

fromXmlRep Xml x #

toRep Xml x → Xml #

Generic OsChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep OsCharTypeType #

Methods

fromOsCharRep OsChar x #

toRep OsChar x → OsChar #

Generic OsString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep OsStringTypeType #

Methods

fromOsStringRep OsString x #

toRep OsString x → OsString #

Generic PosixChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixCharTypeType #

Methods

fromPosixCharRep PosixChar x #

toRep PosixChar x → PosixChar #

Generic PosixString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep PosixStringTypeType #

Generic WindowsChar 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep WindowsCharTypeType #

Generic WindowsString 
Instance details

Defined in System.OsString.Internal.Types

Associated Types

type Rep WindowsStringTypeType #

Generic IsEBB 
Instance details

Defined in Ouroboros.Consensus.Block.EBB

Associated Types

type Rep IsEBBTypeType #

Methods

fromIsEBBRep IsEBB x #

toRep IsEBB x → IsEBB #

Generic CurrentSlot 
Instance details

Defined in Ouroboros.Consensus.BlockchainTime.API

Associated Types

type Rep CurrentSlotTypeType #

Generic SecurityParam 
Instance details

Defined in Ouroboros.Consensus.Config.SecurityParam

Associated Types

type Rep SecurityParamTypeType #

Generic EraMismatch 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.AcrossEras

Associated Types

type Rep EraMismatchTypeType #

Generic Past 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.State.Types

Associated Types

type Rep PastTypeType #

Methods

fromPastRep Past x #

toRep Past x → Past #

Generic TransitionInfo 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.State.Types

Associated Types

type Rep TransitionInfoTypeType #

Generic EraParams 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.EraParams

Associated Types

type Rep EraParamsTypeType #

Methods

fromEraParamsRep EraParams x #

toRep EraParams x → EraParams #

Generic SafeZone 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.EraParams

Associated Types

type Rep SafeZoneTypeType #

Methods

fromSafeZoneRep SafeZone x #

toRep SafeZone x → SafeZone #

Generic EpochInEra 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Associated Types

type Rep EpochInEra ∷ TypeType #

Methods

from ∷ EpochInEra → Rep EpochInEra x #

toRep EpochInEra x → EpochInEra #

Generic SlotInEpoch 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Associated Types

type Rep SlotInEpoch ∷ TypeType #

Methods

from ∷ SlotInEpoch → Rep SlotInEpoch x #

toRep SlotInEpoch x → SlotInEpoch #

Generic SlotInEra 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Associated Types

type Rep SlotInEra ∷ TypeType #

Methods

from ∷ SlotInEra → Rep SlotInEra x #

toRep SlotInEra x → SlotInEra #

Generic TimeInEra 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Associated Types

type Rep TimeInEra ∷ TypeType #

Methods

from ∷ TimeInEra → Rep TimeInEra x #

toRep TimeInEra x → TimeInEra #

Generic TimeInSlot 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Associated Types

type Rep TimeInSlot ∷ TypeType #

Methods

from ∷ TimeInSlot → Rep TimeInSlot x #

toRep TimeInSlot x → TimeInSlot #

Generic Bound 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Summary

Associated Types

type Rep BoundTypeType #

Methods

fromBoundRep Bound x #

toRep Bound x → Bound #

Generic EraEnd 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Summary

Associated Types

type Rep EraEndTypeType #

Methods

fromEraEndRep EraEnd x #

toRep EraEnd x → EraEnd #

Generic EraSummary 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Summary

Associated Types

type Rep EraSummaryTypeType #

Generic TriggerHardFork 
Instance details

Defined in Ouroboros.Consensus.HardFork.Simple

Associated Types

type Rep TriggerHardForkTypeType #

Generic CoreNodeId 
Instance details

Defined in Ouroboros.Consensus.NodeId

Associated Types

type Rep CoreNodeIdTypeType #

Generic NodeId 
Instance details

Defined in Ouroboros.Consensus.NodeId

Associated Types

type Rep NodeIdTypeType #

Methods

fromNodeIdRep NodeId x #

toRep NodeId x → NodeId #

Generic BftParams 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Associated Types

type Rep BftParamsTypeType #

Methods

fromBftParamsRep BftParams x #

toRep BftParams x → BftParams #

Generic BftValidationErr 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Associated Types

type Rep BftValidationErrTypeType #

Generic PBftParams 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep PBftParamsTypeType #

Generic PBftSelectView 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep PBftSelectViewTypeType #

Generic PBftSignatureThreshold 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep PBftSignatureThresholdTypeType #

Generic PBftMockVerKeyHash 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT.Crypto

Associated Types

type Rep PBftMockVerKeyHashTypeType #

Generic ChainType 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.API

Associated Types

type Rep ChainTypeTypeType #

Methods

fromChainTypeRep ChainType x #

toRep ChainType x → ChainType #

Generic ScheduledGc 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Background

Associated Types

type Rep ScheduledGcTypeType #

Generic BinaryBlockInfo 
Instance details

Defined in Ouroboros.Consensus.Storage.Common

Associated Types

type Rep BinaryBlockInfoTypeType #

Generic PrefixLen 
Instance details

Defined in Ouroboros.Consensus.Storage.Common

Associated Types

type Rep PrefixLenTypeType #

Methods

fromPrefixLenRep PrefixLen x #

toRep PrefixLen x → PrefixLen #

Generic ChunkInfo 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Internal

Associated Types

type Rep ChunkInfoTypeType #

Methods

fromChunkInfoRep ChunkInfo x #

toRep ChunkInfo x → ChunkInfo #

Generic ChunkNo 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Internal

Associated Types

type Rep ChunkNoTypeType #

Methods

fromChunkNoRep ChunkNo x #

toRep ChunkNo x → ChunkNo #

Generic ChunkSize 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Internal

Associated Types

type Rep ChunkSizeTypeType #

Methods

fromChunkSizeRep ChunkSize x #

toRep ChunkSize x → ChunkSize #

Generic RelativeSlot 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Internal

Associated Types

type Rep RelativeSlotTypeType #

Generic ChunkSlot 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Layout

Associated Types

type Rep ChunkSlotTypeType #

Methods

fromChunkSlotRep ChunkSlot x #

toRep ChunkSlot x → ChunkSlot #

Generic PrimaryIndex 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Primary

Associated Types

type Rep PrimaryIndexTypeType #

Generic BlockSize 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Secondary

Associated Types

type Rep BlockSizeTypeType #

Methods

fromBlockSizeRep BlockSize x #

toRep BlockSize x → BlockSize #

Generic BlockOrEBB 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep BlockOrEBBTypeType #

Generic TraceCacheEvent 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep TraceCacheEventTypeType #

Generic ValidationPolicy 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep ValidationPolicyTypeType #

Generic NumOfDiskSnapshots 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.DiskPolicy

Associated Types

type Rep NumOfDiskSnapshotsTypeType #

Generic SnapshotInterval 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.DiskPolicy

Associated Types

type Rep SnapshotIntervalTypeType #

Generic DiskSnapshot 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

Associated Types

type Rep DiskSnapshotTypeType #

Generic BlockOffset 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Types

Associated Types

type Rep BlockOffsetTypeType #

Generic BlockSize 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Types

Associated Types

type Rep BlockSizeTypeType #

Methods

fromBlockSizeRep BlockSize x #

toRep BlockSize x → BlockSize #

Generic BlocksPerFile 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Types

Associated Types

type Rep BlocksPerFileTypeType #

Generic Appender 
Instance details

Defined in Ouroboros.Consensus.Util.MonadSTM.RAWLock

Associated Types

type Rep Appender ∷ TypeType #

Methods

from ∷ Appender → Rep Appender x #

toRep Appender x → Appender #

Generic RegistryStatus 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Associated Types

type Rep RegistryStatus ∷ TypeType #

Methods

from ∷ RegistryStatus → Rep RegistryStatus x #

toRep RegistryStatus x → RegistryStatus #

Generic Fingerprint 
Instance details

Defined in Ouroboros.Consensus.Util.STM

Associated Types

type Rep FingerprintTypeType #

Generic ByronHash 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Associated Types

type Rep ByronHashTypeType #

Methods

fromByronHashRep ByronHash x #

toRep ByronHash x → ByronHash #

Generic ByronOtherHeaderEnvelopeError 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.HeaderValidation

Associated Types

type Rep ByronOtherHeaderEnvelopeErrorTypeType #

Generic ByronTransition 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Ledger

Associated Types

type Rep ByronTransitionTypeType #

Generic ByronPartialLedgerConfig 
Instance details

Defined in Ouroboros.Consensus.Cardano.CanHardFork

Associated Types

type Rep ByronPartialLedgerConfigTypeType #

Generic ShelleyTransition 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Ledger

Associated Types

type Rep ShelleyTransitionTypeType #

Generic AlonzoMeasure 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep AlonzoMeasureTypeType #

Generic PraosEnvelopeError 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Praos

Associated Types

type Rep PraosEnvelopeErrorTypeType #

Generic KESInfo 
Instance details

Defined in Ouroboros.Consensus.Protocol.Ledger.HotKey

Associated Types

type Rep KESInfoTypeType #

Methods

fromKESInfoRep KESInfo x #

toRep KESInfo x → KESInfo #

Generic PraosParams 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep PraosParamsTypeType #

Generic MaxMajorProtVer 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Common

Associated Types

type Rep MaxMajorProtVerTypeType #

Generic InputVRF 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.VRF

Associated Types

type Rep InputVRFTypeType #

Methods

fromInputVRFRep InputVRF x #

toRep InputVRF x → InputVRF #

Generic TPraosParams 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep TPraosParamsTypeType #

Generic AverageMetrics 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerMetric

Associated Types

type Rep AverageMetrics ∷ TypeType #

Methods

from ∷ AverageMetrics → Rep AverageMetrics x #

toRep AverageMetrics x → AverageMetrics #

Generic PeerMetricsConfiguration 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerMetric

Associated Types

type Rep PeerMetricsConfigurationTypeType #

Generic MaxSlotNo 
Instance details

Defined in Ouroboros.Network.Block

Associated Types

type Rep MaxSlotNoTypeType #

Methods

fromMaxSlotNoRep MaxSlotNo x #

toRep MaxSlotNo x → MaxSlotNo #

Generic NetworkMagic 
Instance details

Defined in Ouroboros.Network.Magic

Associated Types

type Rep NetworkMagicTypeType #

Generic NodeToClientVersion 
Instance details

Defined in Ouroboros.Network.NodeToClient.Version

Associated Types

type Rep NodeToClientVersionTypeType #

Generic NodeToNodeVersion 
Instance details

Defined in Ouroboros.Network.NodeToNode.Version

Associated Types

type Rep NodeToNodeVersionTypeType #

Generic UseBootstrapPeers 
Instance details

Defined in Ouroboros.Network.PeerSelection.Bootstrap

Associated Types

type Rep UseBootstrapPeersTypeType #

Generic AfterSlot 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Associated Types

type Rep AfterSlotTypeType #

Methods

fromAfterSlotRep AfterSlot x #

toRep AfterSlot x → AfterSlot #

Generic LedgerStateJudgement 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Associated Types

type Rep LedgerStateJudgementTypeType #

Generic UseLedgerPeers 
Instance details

Defined in Ouroboros.Network.PeerSelection.LedgerPeers.Type

Associated Types

type Rep UseLedgerPeersTypeType #

Generic PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

Associated Types

type Rep PeerAdvertiseTypeType #

Generic PeerSharing 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerSharing

Associated Types

type Rep PeerSharingTypeType #

Generic PeerTrustable 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerTrustable

Associated Types

type Rep PeerTrustableTypeType #

Generic FileDescriptor 
Instance details

Defined in Ouroboros.Network.Snocket

Associated Types

type Rep FileDescriptorTypeType #

Generic LocalAddress 
Instance details

Defined in Ouroboros.Network.Snocket

Associated Types

type Rep LocalAddressTypeType #

Generic LocalSocket 
Instance details

Defined in Ouroboros.Network.Snocket

Associated Types

type Rep LocalSocketTypeType #

Generic Cookie 
Instance details

Defined in Ouroboros.Network.Protocol.KeepAlive.Type

Associated Types

type Rep CookieTypeType #

Methods

fromCookieRep Cookie x #

toRep Cookie x → Cookie #

Generic AcquireFailure 
Instance details

Defined in Ouroboros.Network.Protocol.LocalStateQuery.Type

Associated Types

type Rep AcquireFailureTypeType #

Generic MempoolSizeAndCapacity 
Instance details

Defined in Ouroboros.Network.Protocol.LocalTxMonitor.Type

Associated Types

type Rep MempoolSizeAndCapacityTypeType #

Generic PeerSharingAmount 
Instance details

Defined in Ouroboros.Network.Protocol.PeerSharing.Type

Associated Types

type Rep PeerSharingAmountTypeType #

Generic Ann 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep AnnTypeType #

Methods

fromAnnRep Ann x #

toRep Ann x → Ann #

Generic Inline 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep InlineTypeType #

Methods

fromInlineRep Inline x #

toRep Inline x → Inline #

Generic SrcSpan 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep SrcSpanTypeType #

Methods

fromSrcSpanRep SrcSpan x #

toRep SrcSpan x → SrcSpan #

Generic SrcSpans 
Instance details

Defined in PlutusCore.Annotation

Associated Types

type Rep SrcSpansTypeType #

Methods

fromSrcSpansRep SrcSpans x #

toRep SrcSpans x → SrcSpans #

Generic Data 
Instance details

Defined in PlutusCore.Data

Associated Types

type Rep DataTypeType #

Methods

fromDataRep Data x #

toRep Data x → Data #

Generic DeBruijn 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep DeBruijnTypeType #

Methods

fromDeBruijnRep DeBruijn x #

toRep DeBruijn x → DeBruijn #

Generic FreeVariableError 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep FreeVariableErrorTypeType #

Generic Index 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep IndexTypeType #

Methods

fromIndexRep Index x #

toRep Index x → Index #

Generic NamedDeBruijn 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep NamedDeBruijnTypeType #

Generic NamedTyDeBruijn 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep NamedTyDeBruijnTypeType #

Generic TyDeBruijn 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Associated Types

type Rep TyDeBruijnTypeType #

Generic DefaultFun 
Instance details

Defined in PlutusCore.Default.Builtins

Associated Types

type Rep DefaultFunTypeType #

Generic ParserError 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep ParserErrorTypeType #

Generic ParserErrorBundle 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep ParserErrorBundleTypeType #

Generic CkUserError 
Instance details

Defined in PlutusCore.Evaluation.Machine.Ck

Associated Types

type Rep CkUserError ∷ TypeType #

Methods

from ∷ CkUserError → Rep CkUserError x #

toRep CkUserError x → CkUserError #

Generic CostModelApplyError 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Associated Types

type Rep CostModelApplyErrorTypeType #

Generic Intercept 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep InterceptTypeType #

Methods

fromInterceptRep Intercept x #

toRep Intercept x → Intercept #

Generic ModelAddedSizes 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelAddedSizesTypeType #

Generic ModelConstantOrLinear 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelConstantOrLinearTypeType #

Generic ModelConstantOrTwoArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelConstantOrTwoArgumentsTypeType #

Generic ModelFiveArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelFiveArgumentsTypeType #

Generic ModelFourArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelFourArgumentsTypeType #

Generic ModelMaxSize 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelMaxSizeTypeType #

Generic ModelMinSize 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelMinSizeTypeType #

Generic ModelMultipliedSizes 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelMultipliedSizesTypeType #

Generic ModelOneArgument 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelOneArgumentTypeType #

Generic ModelSixArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelSixArgumentsTypeType #

Generic ModelSubtractedSizes 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelSubtractedSizesTypeType #

Generic ModelThreeArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelThreeArgumentsTypeType #

Generic ModelTwoArguments 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep ModelTwoArgumentsTypeType #

Generic OneVariableLinearFunction 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep OneVariableLinearFunctionTypeType #

Generic Slope 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep SlopeTypeType #

Methods

fromSlopeRep Slope x #

toRep Slope x → Slope #

Generic TwoVariableLinearFunction 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep TwoVariableLinearFunctionTypeType #

Generic ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

Associated Types

type Rep ExBudgetTypeType #

Methods

fromExBudgetRep ExBudget x #

toRep ExBudget x → ExBudget #

Generic ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Associated Types

type Rep ExCPUTypeType #

Methods

fromExCPURep ExCPU x #

toRep ExCPU x → ExCPU #

Generic ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Associated Types

type Rep ExMemoryTypeType #

Methods

fromExMemoryRep ExMemory x #

toRep ExMemory x → ExMemory #

Generic Name 
Instance details

Defined in PlutusCore.Name

Associated Types

type Rep NameTypeType #

Methods

fromNameRep Name x #

toRep Name x → Name #

Generic TyName 
Instance details

Defined in PlutusCore.Name

Associated Types

type Rep TyNameTypeType #

Methods

fromTyNameRep TyName x #

toRep TyName x → TyName #

Generic Version 
Instance details

Defined in PlutusCore.Version

Associated Types

type Rep VersionTypeType #

Methods

fromVersionRep Version x #

toRep Version x → Version #

Generic CekUserError 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep CekUserErrorTypeType #

Generic StepKind 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep StepKindTypeType #

Methods

fromStepKindRep StepKind x #

toRep StepKind x → StepKind #

Generic DatatypeComponent 
Instance details

Defined in PlutusIR.Compiler.Provenance

Associated Types

type Rep DatatypeComponent ∷ TypeType #

Methods

from ∷ DatatypeComponent → Rep DatatypeComponent x #

toRep DatatypeComponent x → DatatypeComponent #

Generic Recursivity 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep Recursivity ∷ TypeType #

Methods

from ∷ Recursivity → Rep Recursivity x #

toRep Recursivity x → Recursivity #

Generic Strictness 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep Strictness ∷ TypeType #

Methods

from ∷ Strictness → Rep Strictness x #

toRep Strictness x → Strictness #

Generic SatInt 
Instance details

Defined in Data.SatInt

Associated Types

type Rep SatIntTypeType #

Methods

fromSatIntRep SatInt x #

toRep SatInt x → SatInt #

Generic EvaluationContext 
Instance details

Defined in PlutusLedgerApi.Common.Eval

Associated Types

type Rep EvaluationContextTypeType #

Generic MajorProtocolVersion 
Instance details

Defined in PlutusLedgerApi.Common.ProtocolVersions

Associated Types

type Rep MajorProtocolVersionTypeType #

Generic ScriptForEvaluation 
Instance details

Defined in PlutusLedgerApi.Common.SerialisedScript

Associated Types

type Rep ScriptForEvaluationTypeType #

Generic ScriptNamedDeBruijn 
Instance details

Defined in PlutusLedgerApi.Common.SerialisedScript

Associated Types

type Rep ScriptNamedDeBruijnTypeType #

Generic PlutusLedgerLanguage 
Instance details

Defined in PlutusLedgerApi.Common.Versions

Associated Types

type Rep PlutusLedgerLanguageTypeType #

Generic Address 
Instance details

Defined in PlutusLedgerApi.V1.Address

Associated Types

type Rep AddressTypeType #

Methods

fromAddressRep Address x #

toRep Address x → Address #

Generic LedgerBytes 
Instance details

Defined in PlutusLedgerApi.V1.Bytes

Associated Types

type Rep LedgerBytesTypeType #

Generic ScriptContext 
Instance details

Defined in PlutusLedgerApi.V1.Contexts

Associated Types

type Rep ScriptContextTypeType #

Generic ScriptPurpose 
Instance details

Defined in PlutusLedgerApi.V1.Contexts

Associated Types

type Rep ScriptPurposeTypeType #

Generic TxInInfo 
Instance details

Defined in PlutusLedgerApi.V1.Contexts

Associated Types

type Rep TxInInfoTypeType #

Methods

fromTxInInfoRep TxInInfo x #

toRep TxInInfo x → TxInInfo #

Generic TxInfo 
Instance details

Defined in PlutusLedgerApi.V1.Contexts

Associated Types

type Rep TxInfoTypeType #

Methods

fromTxInfoRep TxInfo x #

toRep TxInfo x → TxInfo #

Generic Credential 
Instance details

Defined in PlutusLedgerApi.V1.Credential

Associated Types

type Rep CredentialTypeType #

Generic StakingCredential 
Instance details

Defined in PlutusLedgerApi.V1.Credential

Associated Types

type Rep StakingCredentialTypeType #

Generic PubKeyHash 
Instance details

Defined in PlutusLedgerApi.V1.Crypto

Associated Types

type Rep PubKeyHashTypeType #

Generic DCert 
Instance details

Defined in PlutusLedgerApi.V1.DCert

Associated Types

type Rep DCertTypeType #

Methods

fromDCertRep DCert x #

toRep DCert x → DCert #

Generic ParamName 
Instance details

Defined in PlutusLedgerApi.V1.ParamName

Associated Types

type Rep ParamNameTypeType #

Methods

fromParamNameRep ParamName x #

toRep ParamName x → ParamName #

Generic Datum 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep DatumTypeType #

Methods

fromDatumRep Datum x #

toRep Datum x → Datum #

Generic DatumHash 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep DatumHashTypeType #

Methods

fromDatumHashRep DatumHash x #

toRep DatumHash x → DatumHash #

Generic Redeemer 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep RedeemerTypeType #

Methods

fromRedeemerRep Redeemer x #

toRep Redeemer x → Redeemer #

Generic RedeemerHash 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep RedeemerHashTypeType #

Generic ScriptError 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep ScriptErrorTypeType #

Generic ScriptHash 
Instance details

Defined in PlutusLedgerApi.V1.Scripts

Associated Types

type Rep ScriptHashTypeType #

Generic DiffMilliSeconds 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Rep DiffMilliSecondsTypeType #

Generic POSIXTime 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Rep POSIXTimeTypeType #

Methods

fromPOSIXTimeRep POSIXTime x #

toRep POSIXTime x → POSIXTime #

Generic RedeemerPtr 
Instance details

Defined in PlutusLedgerApi.V1.Tx

Associated Types

type Rep RedeemerPtrTypeType #

Generic ScriptTag 
Instance details

Defined in PlutusLedgerApi.V1.Tx

Associated Types

type Rep ScriptTagTypeType #

Methods

fromScriptTagRep ScriptTag x #

toRep ScriptTag x → ScriptTag #

Generic TxId 
Instance details

Defined in PlutusLedgerApi.V1.Tx

Associated Types

type Rep TxIdTypeType #

Methods

fromTxIdRep TxId x #

toRep TxId x → TxId #

Generic TxOut 
Instance details

Defined in PlutusLedgerApi.V1.Tx

Associated Types

type Rep TxOutTypeType #

Methods

fromTxOutRep TxOut x #

toRep TxOut x → TxOut #

Generic TxOutRef 
Instance details

Defined in PlutusLedgerApi.V1.Tx

Associated Types

type Rep TxOutRefTypeType #

Methods

fromTxOutRefRep TxOutRef x #

toRep TxOutRef x → TxOutRef #

Generic AssetClass 
Instance details

Defined in PlutusLedgerApi.V1.Value

Associated Types

type Rep AssetClassTypeType #

Generic CurrencySymbol 
Instance details

Defined in PlutusLedgerApi.V1.Value

Associated Types

type Rep CurrencySymbolTypeType #

Generic Lovelace 
Instance details

Defined in PlutusLedgerApi.V1.Value

Associated Types

type Rep LovelaceTypeType #

Methods

fromLovelaceRep Lovelace x #

toRep Lovelace x → Lovelace #

Generic TokenName 
Instance details

Defined in PlutusLedgerApi.V1.Value

Associated Types

type Rep TokenNameTypeType #

Methods

fromTokenNameRep TokenName x #

toRep TokenName x → TokenName #

Generic Value 
Instance details

Defined in PlutusLedgerApi.V1.Value

Associated Types

type Rep ValueTypeType #

Methods

fromValueRep Value x #

toRep Value x → Value #

Generic ScriptContext 
Instance details

Defined in PlutusLedgerApi.V2.Contexts

Associated Types

type Rep ScriptContextTypeType #

Generic TxInInfo 
Instance details

Defined in PlutusLedgerApi.V2.Contexts

Associated Types

type Rep TxInInfoTypeType #

Methods

fromTxInInfoRep TxInInfo x #

toRep TxInInfo x → TxInInfo #

Generic TxInfo 
Instance details

Defined in PlutusLedgerApi.V2.Contexts

Associated Types

type Rep TxInfoTypeType #

Methods

fromTxInfoRep TxInfo x #

toRep TxInfo x → TxInfo #

Generic ParamName 
Instance details

Defined in PlutusLedgerApi.V2.ParamName

Associated Types

type Rep ParamNameTypeType #

Methods

fromParamNameRep ParamName x #

toRep ParamName x → ParamName #

Generic OutputDatum 
Instance details

Defined in PlutusLedgerApi.V2.Tx

Associated Types

type Rep OutputDatumTypeType #

Generic TxOut 
Instance details

Defined in PlutusLedgerApi.V2.Tx

Associated Types

type Rep TxOutTypeType #

Methods

fromTxOutRep TxOut x #

toRep TxOut x → TxOut #

Generic ChangedParameters 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ChangedParametersTypeType #

Generic ColdCommitteeCredential 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ColdCommitteeCredentialTypeType #

Generic Committee 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep CommitteeTypeType #

Methods

fromCommitteeRep Committee x #

toRep Committee x → Committee #

Generic Constitution 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ConstitutionTypeType #

Generic DRep 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep DRepTypeType #

Methods

fromDRepRep DRep x #

toRep DRep x → DRep #

Generic DRepCredential 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep DRepCredentialTypeType #

Generic Delegatee 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep DelegateeTypeType #

Methods

fromDelegateeRep Delegatee x #

toRep Delegatee x → Delegatee #

Generic GovernanceAction 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep GovernanceActionTypeType #

Generic GovernanceActionId 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep GovernanceActionIdTypeType #

Generic HotCommitteeCredential 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep HotCommitteeCredentialTypeType #

Generic ProposalProcedure 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ProposalProcedureTypeType #

Generic ProtocolVersion 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ProtocolVersionTypeType #

Generic ScriptContext 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ScriptContextTypeType #

Generic ScriptPurpose 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep ScriptPurposeTypeType #

Generic TxCert 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep TxCertTypeType #

Methods

fromTxCertRep TxCert x #

toRep TxCert x → TxCert #

Generic TxInfo 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep TxInfoTypeType #

Methods

fromTxInfoRep TxInfo x #

toRep TxInfo x → TxInfo #

Generic Vote 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep VoteTypeType #

Methods

fromVoteRep Vote x #

toRep Vote x → Vote #

Generic Voter 
Instance details

Defined in PlutusLedgerApi.V3.Contexts

Associated Types

type Rep VoterTypeType #

Methods

fromVoterRep Voter x #

toRep Voter x → Voter #

Generic ParamName 
Instance details

Defined in PlutusLedgerApi.V3.ParamName

Associated Types

type Rep ParamNameTypeType #

Methods

fromParamNameRep ParamName x #

toRep ParamName x → ParamName #

Generic BuiltinData 
Instance details

Defined in PlutusTx.Builtins.Internal

Associated Types

type Rep BuiltinDataTypeType #

Generic CovLoc 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CovLocTypeType #

Methods

fromCovLocRep CovLoc x #

toRep CovLoc x → CovLoc #

Generic CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CoverageAnnotationTypeType #

Generic CoverageData 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CoverageDataTypeType #

Generic CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CoverageIndexTypeType #

Generic CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CoverageMetadataTypeType #

Generic CoverageReport 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep CoverageReportTypeType #

Generic Metadata 
Instance details

Defined in PlutusTx.Coverage

Associated Types

type Rep MetadataTypeType #

Methods

fromMetadataRep Metadata x #

toRep Metadata x → Metadata #

Generic Rational 
Instance details

Defined in PlutusTx.Ratio

Associated Types

type Rep RationalTypeType #

Methods

fromRationalRep Rational x #

toRep Rational x → Rational #

Generic ConnectInfo 
Instance details

Defined in Database.PostgreSQL.Simple.Internal

Associated Types

type Rep ConnectInfoTypeType #

Generic Mode 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep ModeTypeType #

Methods

fromModeRep Mode x #

toRep Mode x → Mode #

Generic Style 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep StyleTypeType #

Methods

fromStyleRep Style x #

toRep Style x → Style #

Generic TextDetails 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep TextDetailsTypeType #

Generic Doc 
Instance details

Defined in Text.PrettyPrint.HughesPJ

Associated Types

type Rep DocTypeType #

Methods

fromDocRep Doc x #

toRep Doc x → Doc #

Generic RetryAction 
Instance details

Defined in Control.Retry

Associated Types

type Rep RetryActionTypeType #

Generic RetryStatus 
Instance details

Defined in Control.Retry

Associated Types

type Rep RetryStatusTypeType #

Generic Approximation 
Instance details

Defined in Money.Internal

Associated Types

type Rep ApproximationTypeType #

Generic Scale 
Instance details

Defined in Money.Internal

Associated Types

type Rep ScaleTypeType #

Methods

fromScaleRep Scale x #

toRep Scale x → Scale #

Generic SomeDense 
Instance details

Defined in Money.Internal

Associated Types

type Rep SomeDenseTypeType #

Methods

fromSomeDenseRep SomeDense x #

toRep SomeDense x → SomeDense #

Generic SomeDiscrete 
Instance details

Defined in Money.Internal

Associated Types

type Rep SomeDiscreteTypeType #

Generic SomeExchangeRate 
Instance details

Defined in Money.Internal

Associated Types

type Rep SomeExchangeRateTypeType #

Generic AcceptHeader 
Instance details

Defined in Servant.API.ContentTypes

Associated Types

type Rep AcceptHeaderTypeType #

Generic NoContent 
Instance details

Defined in Servant.API.ContentTypes

Associated Types

type Rep NoContentTypeType #

Methods

fromNoContentRep NoContent x #

toRep NoContent x → NoContent #

Generic IsSecure 
Instance details

Defined in Servant.API.IsSecure

Associated Types

type Rep IsSecureTypeType #

Methods

fromIsSecureRep IsSecure x #

toRep IsSecure x → IsSecure #

Generic BaseUrl 
Instance details

Defined in Servant.Client.Core.BaseUrl

Associated Types

type Rep BaseUrlTypeType #

Methods

fromBaseUrlRep BaseUrl x #

toRep BaseUrl x → BaseUrl #

Generic Scheme 
Instance details

Defined in Servant.Client.Core.BaseUrl

Associated Types

type Rep SchemeTypeType #

Methods

fromSchemeRep Scheme x #

toRep Scheme x → Scheme #

Generic ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

Associated Types

type Rep ClientErrorTypeType #

Generic RequestBody 
Instance details

Defined in Servant.Client.Core.Request

Associated Types

type Rep RequestBodyTypeType #

Generic Endpoint 
Instance details

Defined in Servant.Docs.Internal

Associated Types

type Rep EndpointTypeType #

Methods

fromEndpointRep Endpoint x #

toRep Endpoint x → Endpoint #

Generic Time 
Instance details

Defined in Control.Monad.Class.MonadTime.SI

Associated Types

type Rep TimeTypeType #

Methods

fromTimeRep Time x #

toRep Time x → Time #

Generic StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

Associated Types

type Rep StudentTTypeType #

Methods

fromStudentTRep StudentT x #

toRep StudentT x → StudentT #

Generic ApiKeyLocation 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ApiKeyLocationTypeType #

Generic ApiKeyParams 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ApiKeyParamsTypeType #

Generic Contact 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ContactTypeType #

Methods

fromContactRep Contact x #

toRep Contact x → Contact #

Generic Example 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ExampleTypeType #

Methods

fromExampleRep Example x #

toRep Example x → Example #

Generic ExternalDocs 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ExternalDocsTypeType #

Generic Header 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep HeaderTypeType #

Methods

fromHeaderRep Header x #

toRep Header x → Header #

Generic Host 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep HostTypeType #

Methods

fromHostRep Host x #

toRep Host x → Host #

Generic Info 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep InfoTypeType #

Methods

fromInfoRep Info x #

toRep Info x → Info #

Generic License 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep LicenseTypeType #

Methods

fromLicenseRep License x #

toRep License x → License #

Generic NamedSchema 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep NamedSchemaTypeType #

Generic OAuth2Flow 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep OAuth2FlowTypeType #

Generic OAuth2Params 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep OAuth2ParamsTypeType #

Generic Operation 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep OperationTypeType #

Methods

fromOperationRep Operation x #

toRep Operation x → Operation #

Generic Param 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ParamTypeType #

Methods

fromParamRep Param x #

toRep Param x → Param #

Generic ParamAnySchema 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ParamAnySchemaTypeType #

Generic ParamLocation 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ParamLocationTypeType #

Generic ParamOtherSchema 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ParamOtherSchemaTypeType #

Generic PathItem 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep PathItemTypeType #

Methods

fromPathItemRep PathItem x #

toRep PathItem x → PathItem #

Generic Response 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ResponseTypeType #

Methods

fromResponseRep Response x #

toRep Response x → Response #

Generic Responses 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep ResponsesTypeType #

Methods

fromResponsesRep Responses x #

toRep Responses x → Responses #

Generic Schema 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SchemaTypeType #

Methods

fromSchemaRep Schema x #

toRep Schema x → Schema #

Generic Scheme 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SchemeTypeType #

Methods

fromSchemeRep Scheme x #

toRep Scheme x → Scheme #

Generic SecurityDefinitions 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SecurityDefinitionsTypeType #

Generic SecurityScheme 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SecuritySchemeTypeType #

Generic SecuritySchemeType 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SecuritySchemeTypeTypeType #

Generic Swagger 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep SwaggerTypeType #

Methods

fromSwaggerRep Swagger x #

toRep Swagger x → Swagger #

Generic Tag 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep TagTypeType #

Methods

fromTagRep Tag x #

toRep Tag x → Tag #

Generic Xml 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep XmlTypeType #

Methods

fromXmlRep Xml x #

toRep Xml x → Xml #

Generic Outcome 
Instance details

Defined in Test.Tasty.Core

Associated Types

type Rep OutcomeTypeType #

Methods

fromOutcomeRep Outcome x #

toRep Outcome x → Outcome #

Generic Expr 
Instance details

Defined in Test.Tasty.Patterns.Types

Associated Types

type Rep ExprTypeType #

Methods

fromExprRep Expr x #

toRep Expr x → Expr #

Generic AnnLookup 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnLookupTypeType #

Methods

fromAnnLookupRep AnnLookup x #

toRep AnnLookup x → AnnLookup #

Generic AnnTarget 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep AnnTargetTypeType #

Methods

fromAnnTargetRep AnnTarget x #

toRep AnnTarget x → AnnTarget #

Generic Bang 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep BangTypeType #

Methods

fromBangRep Bang x #

toRep Bang x → Bang #

Generic Body 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep BodyTypeType #

Methods

fromBodyRep Body x #

toRep Body x → Body #

Generic Bytes 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep BytesTypeType #

Methods

fromBytesRep Bytes x #

toRep Bytes x → Bytes #

Generic Callconv 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep CallconvTypeType #

Methods

fromCallconvRep Callconv x #

toRep Callconv x → Callconv #

Generic Clause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ClauseTypeType #

Methods

fromClauseRep Clause x #

toRep Clause x → Clause #

Generic Con 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ConTypeType #

Methods

fromConRep Con x #

toRep Con x → Con #

Generic Dec 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DecTypeType #

Methods

fromDecRep Dec x #

toRep Dec x → Dec #

Generic DecidedStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DecidedStrictnessTypeType #

Generic DerivClause 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivClauseTypeType #

Generic DerivStrategy 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DerivStrategyTypeType #

Generic DocLoc 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep DocLocTypeType #

Methods

fromDocLocRep DocLoc x #

toRep DocLoc x → DocLoc #

Generic Exp 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ExpTypeType #

Methods

fromExpRep Exp x #

toRep Exp x → Exp #

Generic FamilyResultSig 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FamilyResultSigTypeType #

Generic Fixity 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FixityTypeType #

Methods

fromFixityRep Fixity x #

toRep Fixity x → Fixity #

Generic FixityDirection 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FixityDirectionTypeType #

Generic Foreign 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ForeignTypeType #

Methods

fromForeignRep Foreign x #

toRep Foreign x → Foreign #

Generic FunDep 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep FunDepTypeType #

Methods

fromFunDepRep FunDep x #

toRep FunDep x → FunDep #

Generic Guard 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep GuardTypeType #

Methods

fromGuardRep Guard x #

toRep Guard x → Guard #

Generic Info 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep InfoTypeType #

Methods

fromInfoRep Info x #

toRep Info x → Info #

Generic InjectivityAnn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep InjectivityAnnTypeType #

Generic Inline 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep InlineTypeType #

Methods

fromInlineRep Inline x #

toRep Inline x → Inline #

Generic Lit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep LitTypeType #

Methods

fromLitRep Lit x #

toRep Lit x → Lit #

Generic Loc 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep LocTypeType #

Methods

fromLocRep Loc x #

toRep Loc x → Loc #

Generic Match 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep MatchTypeType #

Methods

fromMatchRep Match x #

toRep Match x → Match #

Generic ModName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModNameTypeType #

Methods

fromModNameRep ModName x #

toRep ModName x → ModName #

Generic Module 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModuleTypeType #

Methods

fromModuleRep Module x #

toRep Module x → Module #

Generic ModuleInfo 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep ModuleInfoTypeType #

Generic Name 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameTypeType #

Methods

fromNameRep Name x #

toRep Name x → Name #

Generic NameFlavour 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameFlavourTypeType #

Generic NameSpace 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep NameSpaceTypeType #

Methods

fromNameSpaceRep NameSpace x #

toRep NameSpace x → NameSpace #

Generic OccName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep OccNameTypeType #

Methods

fromOccNameRep OccName x #

toRep OccName x → OccName #

Generic Overlap 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep OverlapTypeType #

Methods

fromOverlapRep Overlap x #

toRep Overlap x → Overlap #

Generic Pat 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatTypeType #

Methods

fromPatRep Pat x #

toRep Pat x → Pat #

Generic PatSynArgs 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynArgsTypeType #

Generic PatSynDir 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PatSynDirTypeType #

Methods

fromPatSynDirRep PatSynDir x #

toRep PatSynDir x → PatSynDir #

Generic Phases 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PhasesTypeType #

Methods

fromPhasesRep Phases x #

toRep Phases x → Phases #

Generic PkgName 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PkgNameTypeType #

Methods

fromPkgNameRep PkgName x #

toRep PkgName x → PkgName #

Generic Pragma 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep PragmaTypeType #

Methods

fromPragmaRep Pragma x #

toRep Pragma x → Pragma #

Generic Range 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RangeTypeType #

Methods

fromRangeRep Range x #

toRep Range x → Range #

Generic Role 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RoleTypeType #

Methods

fromRoleRep Role x #

toRep Role x → Role #

Generic RuleBndr 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleBndrTypeType #

Methods

fromRuleBndrRep RuleBndr x #

toRep RuleBndr x → RuleBndr #

Generic RuleMatch 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep RuleMatchTypeType #

Methods

fromRuleMatchRep RuleMatch x #

toRep RuleMatch x → RuleMatch #

Generic Safety 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SafetyTypeType #

Methods

fromSafetyRep Safety x #

toRep Safety x → Safety #

Generic SourceStrictness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceStrictnessTypeType #

Generic SourceUnpackedness 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SourceUnpackednessTypeType #

Generic Specificity 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep SpecificityTypeType #

Generic Stmt 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep StmtTypeType #

Methods

fromStmtRep Stmt x #

toRep Stmt x → Stmt #

Generic TyLit 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TyLitTypeType #

Methods

fromTyLitRep TyLit x #

toRep TyLit x → TyLit #

Generic TySynEqn 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TySynEqnTypeType #

Methods

fromTySynEqnRep TySynEqn x #

toRep TySynEqn x → TySynEqn #

Generic Type 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TypeTypeType #

Methods

fromTypeRep Type x #

toRep Type x → Type #

Generic TypeFamilyHead 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep TypeFamilyHeadTypeType #

Generic CaseStyle 
Instance details

Defined in Data.Text.Class

Associated Types

type Rep CaseStyleTypeType #

Methods

fromCaseStyleRep CaseStyle x #

toRep CaseStyle x → CaseStyle #

Generic ConstructorInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorInfoTypeType #

Generic ConstructorVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep ConstructorVariantTypeType #

Generic DatatypeInfo 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeInfoTypeType #

Generic DatatypeVariant 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep DatatypeVariantTypeType #

Generic FieldStrictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep FieldStrictnessTypeType #

Generic Strictness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep StrictnessTypeType #

Generic Unpackedness 
Instance details

Defined in Language.Haskell.TH.Datatype

Associated Types

type Rep UnpackednessTypeType #

Generic Group 
Instance details

Defined in Network.TLS.Crypto.Types

Associated Types

type Rep GroupTypeType #

Methods

fromGroupRep Group x #

toRep Group x → Group #

Generic SessionData 
Instance details

Defined in Network.TLS.Types

Associated Types

type Rep SessionDataTypeType #

Generic SessionFlag 
Instance details

Defined in Network.TLS.Types

Associated Types

type Rep SessionFlagTypeType #

Generic TLS13TicketInfo 
Instance details

Defined in Network.TLS.Types

Associated Types

type Rep TLS13TicketInfoTypeType #

Generic Version 
Instance details

Defined in Network.TLS.Types

Associated Types

type Rep VersionTypeType #

Methods

fromVersionRep Version x #

toRep Version x → Version #

Generic BackendConfig 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep BackendConfigTypeType #

Generic ConfigOption 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep ConfigOptionTypeType #

Generic DetailLevel 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep DetailLevelTypeType #

Generic ForwarderMode 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep ForwarderModeTypeType #

Generic LoggingContext 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep LoggingContextTypeType #

Generic Privacy 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep PrivacyTypeType #

Methods

fromPrivacyRep Privacy x #

toRep Privacy x → Privacy #

Generic SeverityS 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep SeveritySTypeType #

Methods

fromSeveritySRep SeverityS x #

toRep SeverityS x → SeverityS #

Generic TraceObject 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep TraceObjectTypeType #

Generic TraceOptionForwarder 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep TraceOptionForwarderTypeType #

Generic Verbosity 
Instance details

Defined in Cardano.Logging.Types

Associated Types

type Rep VerbosityTypeType #

Methods

fromVerbosityRep Verbosity x #

toRep Verbosity x → Verbosity #

Generic NumberOfTraceObjects 
Instance details

Defined in Trace.Forward.Protocol.TraceObject.Type

Associated Types

type Rep NumberOfTraceObjectsTypeType #

Generic UnixTime 
Instance details

Defined in Data.UnixTime.Types

Associated Types

type Rep UnixTimeTypeType #

Methods

fromUnixTimeRep UnixTime x #

toRep UnixTime x → UnixTime #

Generic ConcException 
Instance details

Defined in UnliftIO.Internals.Async

Associated Types

type Rep ConcExceptionTypeType #

Generic CompressParams 
Instance details

Defined in Codec.Compression.Zlib.Internal

Associated Types

type Rep CompressParamsTypeType #

Generic DecompressError 
Instance details

Defined in Codec.Compression.Zlib.Internal

Associated Types

type Rep DecompressErrorTypeType #

Generic DecompressParams 
Instance details

Defined in Codec.Compression.Zlib.Internal

Associated Types

type Rep DecompressParamsTypeType #

Generic CompressionLevel 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep CompressionLevelTypeType #

Generic CompressionStrategy 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep CompressionStrategyTypeType #

Generic Format 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep FormatTypeType #

Methods

fromFormatRep Format x #

toRep Format x → Format #

Generic MemoryLevel 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep MemoryLevelTypeType #

Generic Method 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep MethodTypeType #

Methods

fromMethodRep Method x #

toRep Method x → Method #

Generic WindowBits 
Instance details

Defined in Codec.Compression.Zlib.Stream

Associated Types

type Rep WindowBitsTypeType #

Generic () 
Instance details

Defined in GHC.Generics

Associated Types

type Rep () ∷ TypeType #

Methods

from ∷ () → Rep () x #

toRep () x → () #

Generic Bool 
Instance details

Defined in GHC.Generics

Associated Types

type Rep BoolTypeType #

Methods

fromBoolRep Bool x #

toRep Bool x → Bool #

Generic (Last' a) 
Instance details

Defined in Distribution.Compat.Semigroup

Associated Types

type Rep (Last' a) ∷ TypeType #

Methods

fromLast' a → Rep (Last' a) x #

toRep (Last' a) x → Last' a #

Generic (Option' a) 
Instance details

Defined in Distribution.Compat.Semigroup

Associated Types

type Rep (Option' a) ∷ TypeType #

Methods

fromOption' a → Rep (Option' a) x #

toRep (Option' a) x → Option' a #

Generic (Only a) 
Instance details

Defined in Data.Tuple.Only

Associated Types

type Rep (Only a) ∷ TypeType #

Methods

fromOnly a → Rep (Only a) x #

toRep (Only a) x → Only a #

Generic (Graph a) 
Instance details

Defined in Algebra.Graph

Associated Types

type Rep (Graph a) ∷ TypeType #

Methods

fromGraph a → Rep (Graph a) x #

toRep (Graph a) x → Graph a #

Generic (AdjacencyMap a) 
Instance details

Defined in Algebra.Graph.AdjacencyMap

Associated Types

type Rep (AdjacencyMap a) ∷ TypeType #

Methods

fromAdjacencyMap a → Rep (AdjacencyMap a) x #

toRep (AdjacencyMap a) x → AdjacencyMap a #

Generic (AdjacencyMap a) 
Instance details

Defined in Algebra.Graph.NonEmpty.AdjacencyMap

Associated Types

type Rep (AdjacencyMap a) ∷ TypeType #

Methods

fromAdjacencyMap a → Rep (AdjacencyMap a) x #

toRep (AdjacencyMap a) x → AdjacencyMap a #

Generic (Graph a) 
Instance details

Defined in Algebra.Graph.Undirected

Associated Types

type Rep (Graph a) ∷ TypeType #

Methods

fromGraph a → Rep (Graph a) x #

toRep (Graph a) x → Graph a #

Generic (ZipList a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (ZipList a) ∷ TypeType #

Methods

fromZipList a → Rep (ZipList a) x #

toRep (ZipList a) x → ZipList a #

Generic (Complex a) 
Instance details

Defined in Data.Complex

Associated Types

type Rep (Complex a) ∷ TypeType #

Methods

fromComplex a → Rep (Complex a) x #

toRep (Complex a) x → Complex a #

Generic (Identity a) 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep (Identity a) ∷ TypeType #

Methods

fromIdentity a → Rep (Identity a) x #

toRep (Identity a) x → Identity a #

Generic (First a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (First a) ∷ TypeType #

Methods

fromFirst a → Rep (First a) x #

toRep (First a) x → First a #

Generic (Last a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Last a) ∷ TypeType #

Methods

fromLast a → Rep (Last a) x #

toRep (Last a) x → Last a #

Generic (Down a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Down a) ∷ TypeType #

Methods

fromDown a → Rep (Down a) x #

toRep (Down a) x → Down a #

Generic (First a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (First a) ∷ TypeType #

Methods

fromFirst a → Rep (First a) x #

toRep (First a) x → First a #

Generic (Last a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Last a) ∷ TypeType #

Methods

fromLast a → Rep (Last a) x #

toRep (Last a) x → Last a #

Generic (Max a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Max a) ∷ TypeType #

Methods

fromMax a → Rep (Max a) x #

toRep (Max a) x → Max a #

Generic (Min a) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Min a) ∷ TypeType #

Methods

fromMin a → Rep (Min a) x #

toRep (Min a) x → Min a #

Generic (WrappedMonoid m) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (WrappedMonoid m) ∷ TypeType #

Methods

fromWrappedMonoid m → Rep (WrappedMonoid m) x #

toRep (WrappedMonoid m) x → WrappedMonoid m #

Generic (Dual a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Dual a) ∷ TypeType #

Methods

fromDual a → Rep (Dual a) x #

toRep (Dual a) x → Dual a #

Generic (Endo a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Endo a) ∷ TypeType #

Methods

fromEndo a → Rep (Endo a) x #

toRep (Endo a) x → Endo a #

Generic (Product a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Product a) ∷ TypeType #

Methods

fromProduct a → Rep (Product a) x #

toRep (Product a) x → Product a #

Generic (Sum a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Sum a) ∷ TypeType #

Methods

fromSum a → Rep (Sum a) x #

toRep (Sum a) x → Sum a #

Generic (NonEmpty a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (NonEmpty a) ∷ TypeType #

Methods

fromNonEmpty a → Rep (NonEmpty a) x #

toRep (NonEmpty a) x → NonEmpty a #

Generic (Par1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Par1 p) ∷ TypeType #

Methods

fromPar1 p → Rep (Par1 p) x #

toRep (Par1 p) x → Par1 p #

Generic (BlockfrostAPI route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (BlockfrostAPI route) ∷ TypeType #

Methods

from ∷ BlockfrostAPI route → Rep (BlockfrostAPI route) x #

toRep (BlockfrostAPI route) x → BlockfrostAPI route #

Generic (BlockfrostV0API route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (BlockfrostV0API route) ∷ TypeType #

Methods

from ∷ BlockfrostV0API route → Rep (BlockfrostV0API route) x #

toRep (BlockfrostV0API route) x → BlockfrostV0API route #

Generic (CardanoAPI route) 
Instance details

Defined in Blockfrost.API

Associated Types

type Rep (CardanoAPI route) ∷ TypeType #

Methods

from ∷ CardanoAPI route → Rep (CardanoAPI route) x #

toRep (CardanoAPI route) x → CardanoAPI route #

Generic (AccountsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Accounts

Associated Types

type Rep (AccountsAPI route) ∷ TypeType #

Methods

from ∷ AccountsAPI route → Rep (AccountsAPI route) x #

toRep (AccountsAPI route) x → AccountsAPI route #

Generic (AddressesAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Addresses

Associated Types

type Rep (AddressesAPI route) ∷ TypeType #

Methods

from ∷ AddressesAPI route → Rep (AddressesAPI route) x #

toRep (AddressesAPI route) x → AddressesAPI route #

Generic (AssetsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Assets

Associated Types

type Rep (AssetsAPI route) ∷ TypeType #

Methods

from ∷ AssetsAPI route → Rep (AssetsAPI route) x #

toRep (AssetsAPI route) x → AssetsAPI route #

Generic (BlocksAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Blocks

Associated Types

type Rep (BlocksAPI route) ∷ TypeType #

Methods

from ∷ BlocksAPI route → Rep (BlocksAPI route) x #

toRep (BlocksAPI route) x → BlocksAPI route #

Generic (EpochsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Epochs

Associated Types

type Rep (EpochsAPI route) ∷ TypeType #

Methods

from ∷ EpochsAPI route → Rep (EpochsAPI route) x #

toRep (EpochsAPI route) x → EpochsAPI route #

Generic (LedgerAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Ledger

Associated Types

type Rep (LedgerAPI route) ∷ TypeType #

Methods

from ∷ LedgerAPI route → Rep (LedgerAPI route) x #

toRep (LedgerAPI route) x → LedgerAPI route #

Generic (MetadataAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Metadata

Associated Types

type Rep (MetadataAPI route) ∷ TypeType #

Methods

from ∷ MetadataAPI route → Rep (MetadataAPI route) x #

toRep (MetadataAPI route) x → MetadataAPI route #

Generic (NetworkAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Network

Associated Types

type Rep (NetworkAPI route) ∷ TypeType #

Methods

from ∷ NetworkAPI route → Rep (NetworkAPI route) x #

toRep (NetworkAPI route) x → NetworkAPI route #

Generic (PoolsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Pools

Associated Types

type Rep (PoolsAPI route) ∷ TypeType #

Methods

from ∷ PoolsAPI route → Rep (PoolsAPI route) x #

toRep (PoolsAPI route) x → PoolsAPI route #

Generic (ScriptsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Scripts

Associated Types

type Rep (ScriptsAPI route) ∷ TypeType #

Methods

from ∷ ScriptsAPI route → Rep (ScriptsAPI route) x #

toRep (ScriptsAPI route) x → ScriptsAPI route #

Generic (TransactionsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Transactions

Associated Types

type Rep (TransactionsAPI route) ∷ TypeType #

Methods

from ∷ TransactionsAPI route → Rep (TransactionsAPI route) x #

toRep (TransactionsAPI route) x → TransactionsAPI route #

Generic (UtilsAPI route) 
Instance details

Defined in Blockfrost.API.Cardano.Utils

Associated Types

type Rep (UtilsAPI route) ∷ TypeType #

Methods

from ∷ UtilsAPI route → Rep (UtilsAPI route) x #

toRep (UtilsAPI route) x → UtilsAPI route #

Generic (CommonAPI route) 
Instance details

Defined in Blockfrost.API.Common

Associated Types

type Rep (CommonAPI route) ∷ TypeType #

Methods

from ∷ CommonAPI route → Rep (CommonAPI route) x #

toRep (CommonAPI route) x → CommonAPI route #

Generic (IPFSAPI route) 
Instance details

Defined in Blockfrost.API.IPFS

Associated Types

type Rep (IPFSAPI route) ∷ TypeType #

Methods

from ∷ IPFSAPI route → Rep (IPFSAPI route) x #

toRep (IPFSAPI route) x → IPFSAPI route #

Generic (NutLinkAPI route) 
Instance details

Defined in Blockfrost.API.NutLink

Associated Types

type Rep (NutLinkAPI route) ∷ TypeType #

Methods

from ∷ NutLinkAPI route → Rep (NutLinkAPI route) x #

toRep (NutLinkAPI route) x → NutLinkAPI route #

Generic (Script elem) 
Instance details

Defined in Cardano.Address.Script

Associated Types

type Rep (Script elem) ∷ TypeType #

Methods

fromScript elem → Rep (Script elem) x #

toRep (Script elem) x → Script elem #

Generic (VotingProcedures era) 
Instance details

Defined in Cardano.Api.Governance.Actions.VotingProcedure

Associated Types

type Rep (VotingProcedures era) ∷ TypeType #

Methods

fromVotingProcedures era → Rep (VotingProcedures era) x #

toRep (VotingProcedures era) x → VotingProcedures era #

Generic (TxValidationError era) 
Instance details

Defined in Cardano.Api.InMode

Associated Types

type Rep (TxValidationError era) ∷ TypeType #

Methods

from ∷ TxValidationError era → Rep (TxValidationError era) x #

toRep (TxValidationError era) x → TxValidationError era #

Generic (SelectionOf change) 
Instance details

Defined in Internal.Cardano.Write.Tx.Balance.CoinSelection

Associated Types

type Rep (SelectionOf change) ∷ TypeType #

Methods

from ∷ SelectionOf change → Rep (SelectionOf change) x #

toRep (SelectionOf change) x → SelectionOf change #

Generic (Selection ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (Selection ctx) ∷ TypeType #

Methods

fromSelection ctx → Rep (Selection ctx) x #

toRep (Selection ctx) x → Selection ctx #

Generic (SelectionCollateralError ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionCollateralError ctx) ∷ TypeType #

Generic (SelectionConstraints ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionConstraints ctx) ∷ TypeType #

Generic (SelectionOutputCoinInsufficientError ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionOutputCoinInsufficientError ctx) ∷ TypeType #

Methods

from ∷ SelectionOutputCoinInsufficientError ctx → Rep (SelectionOutputCoinInsufficientError ctx) x #

toRep (SelectionOutputCoinInsufficientError ctx) x → SelectionOutputCoinInsufficientError ctx #

Generic (SelectionOutputSizeExceedsLimitError ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionOutputSizeExceedsLimitError ctx) ∷ TypeType #

Methods

from ∷ SelectionOutputSizeExceedsLimitError ctx → Rep (SelectionOutputSizeExceedsLimitError ctx) x #

toRep (SelectionOutputSizeExceedsLimitError ctx) x → SelectionOutputSizeExceedsLimitError ctx #

Generic (SelectionOutputTokenQuantityExceedsLimitError ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionOutputTokenQuantityExceedsLimitError ctx) ∷ TypeType #

Methods

from ∷ SelectionOutputTokenQuantityExceedsLimitError ctx → Rep (SelectionOutputTokenQuantityExceedsLimitError ctx) x #

toRep (SelectionOutputTokenQuantityExceedsLimitError ctx) x → SelectionOutputTokenQuantityExceedsLimitError ctx #

Generic (SelectionParams ctx) 
Instance details

Defined in Cardano.CoinSelection

Associated Types

type Rep (SelectionParams ctx) ∷ TypeType #

Methods

fromSelectionParams ctx → Rep (SelectionParams ctx) x #

toRep (SelectionParams ctx) x → SelectionParams ctx #

Generic (RunSelectionParams u) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (RunSelectionParams u) ∷ TypeType #

Generic (SelectionBalanceError ctx) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (SelectionBalanceError ctx) ∷ TypeType #

Generic (SelectionConstraints ctx) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (SelectionConstraints ctx) ∷ TypeType #

Generic (SelectionSkeleton ctx) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (SelectionSkeleton ctx) ∷ TypeType #

Methods

fromSelectionSkeleton ctx → Rep (SelectionSkeleton ctx) x #

toRep (SelectionSkeleton ctx) x → SelectionSkeleton ctx #

Generic (SelectionCollateralError u) 
Instance details

Defined in Cardano.CoinSelection.Collateral

Associated Types

type Rep (SelectionCollateralError u) ∷ TypeType #

Generic (SelectionParams u) 
Instance details

Defined in Cardano.CoinSelection.Collateral

Associated Types

type Rep (SelectionParams u) ∷ TypeType #

Generic (SelectionResult u) 
Instance details

Defined in Cardano.CoinSelection.Collateral

Associated Types

type Rep (SelectionResult u) ∷ TypeType #

Generic (UTxOIndex u) 
Instance details

Defined in Cardano.CoinSelection.UTxOIndex.Internal

Associated Types

type Rep (UTxOIndex u) ∷ TypeType #

Methods

fromUTxOIndex u → Rep (UTxOIndex u) x #

toRep (UTxOIndex u) x → UTxOIndex u #

Generic (State u) 
Instance details

Defined in Cardano.CoinSelection.UTxOSelection

Associated Types

type Rep (State u) ∷ TypeType #

Methods

from ∷ State u → Rep (State u) x #

toRep (State u) x → State u #

Generic (UTxOSelection u) 
Instance details

Defined in Cardano.CoinSelection.UTxOSelection

Associated Types

type Rep (UTxOSelection u) ∷ TypeType #

Methods

fromUTxOSelection u → Rep (UTxOSelection u) x #

toRep (UTxOSelection u) x → UTxOSelection u #

Generic (UTxOSelectionNonEmpty u) 
Instance details

Defined in Cardano.CoinSelection.UTxOSelection

Associated Types

type Rep (UTxOSelectionNonEmpty u) ∷ TypeType #

Generic (SigDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SigDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType #

Generic (SigDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SigDSIGN Ed25519DSIGN) ∷ TypeType #

Generic (SigDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (SigDSIGN Ed448DSIGN) ∷ TypeType #

Generic (SigDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (SigDSIGN MockDSIGN) ∷ TypeType #

Generic (SigDSIGN NeverDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (SigDSIGN NeverDSIGN) ∷ TypeType #

Generic (SigDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SigDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType #

Generic (SigDSIGN ByronDSIGN) 
Instance details

Defined in Ouroboros.Consensus.Byron.Crypto.DSIGN

Associated Types

type Rep (SigDSIGN ByronDSIGN) ∷ TypeType #

Generic (SignKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (SignKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType #

Generic (SignKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (SignKeyDSIGN Ed25519DSIGN) ∷ TypeType #

Generic (SignKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (SignKeyDSIGN Ed448DSIGN) ∷ TypeType #

Generic (SignKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (SignKeyDSIGN MockDSIGN) ∷ TypeType #

Generic (SignKeyDSIGN NeverDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (SignKeyDSIGN NeverDSIGN) ∷ TypeType #

Generic (SignKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (SignKeyDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType #

Generic (SignKeyDSIGN ByronDSIGN) 
Instance details

Defined in Ouroboros.Consensus.Byron.Crypto.DSIGN

Associated Types

type Rep (SignKeyDSIGN ByronDSIGN) ∷ TypeType #

Generic (VerKeyDSIGN EcdsaSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.EcdsaSecp256k1

Associated Types

type Rep (VerKeyDSIGN EcdsaSecp256k1DSIGN) ∷ TypeType #

Generic (VerKeyDSIGN Ed25519DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed25519

Associated Types

type Rep (VerKeyDSIGN Ed25519DSIGN) ∷ TypeType #

Generic (VerKeyDSIGN Ed448DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Ed448

Associated Types

type Rep (VerKeyDSIGN Ed448DSIGN) ∷ TypeType #

Generic (VerKeyDSIGN MockDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.Mock

Associated Types

type Rep (VerKeyDSIGN MockDSIGN) ∷ TypeType #

Generic (VerKeyDSIGN NeverDSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.NeverUsed

Associated Types

type Rep (VerKeyDSIGN NeverDSIGN) ∷ TypeType #

Generic (VerKeyDSIGN SchnorrSecp256k1DSIGN) 
Instance details

Defined in Cardano.Crypto.DSIGN.SchnorrSecp256k1

Associated Types

type Rep (VerKeyDSIGN SchnorrSecp256k1DSIGN) ∷ TypeType #

Generic (VerKeyDSIGN ByronDSIGN) 
Instance details

Defined in Ouroboros.Consensus.Byron.Crypto.DSIGN

Associated Types

type Rep (VerKeyDSIGN ByronDSIGN) ∷ TypeType #

Generic (SigKES (CompactSingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSingle

Associated Types

type Rep (SigKES (CompactSingleKES d)) ∷ TypeType #

Generic (SigKES (CompactSumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSum

Associated Types

type Rep (SigKES (CompactSumKES h d)) ∷ TypeType #

Methods

fromSigKES (CompactSumKES h d) → Rep (SigKES (CompactSumKES h d)) x #

toRep (SigKES (CompactSumKES h d)) x → SigKES (CompactSumKES h d) #

Generic (SigKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Associated Types

type Rep (SigKES (MockKES t)) ∷ TypeType #

Methods

fromSigKES (MockKES t) → Rep (SigKES (MockKES t)) x #

toRep (SigKES (MockKES t)) x → SigKES (MockKES t) #

Generic (SigKES NeverKES) 
Instance details

Defined in Cardano.Crypto.KES.NeverUsed

Associated Types

type Rep (SigKES NeverKES) ∷ TypeType #

Generic (SigKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Associated Types

type Rep (SigKES (SimpleKES d t)) ∷ TypeType #

Methods

fromSigKES (SimpleKES d t) → Rep (SigKES (SimpleKES d t)) x #

toRep (SigKES (SimpleKES d t)) x → SigKES (SimpleKES d t) #

Generic (SigKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Associated Types

type Rep (SigKES (SingleKES d)) ∷ TypeType #

Methods

fromSigKES (SingleKES d) → Rep (SigKES (SingleKES d)) x #

toRep (SigKES (SingleKES d)) x → SigKES (SingleKES d) #

Generic (SigKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Associated Types

type Rep (SigKES (SumKES h d)) ∷ TypeType #

Methods

fromSigKES (SumKES h d) → Rep (SigKES (SumKES h d)) x #

toRep (SigKES (SumKES h d)) x → SigKES (SumKES h d) #

Generic (SignKeyKES (CompactSingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSingle

Associated Types

type Rep (SignKeyKES (CompactSingleKES d)) ∷ TypeType #

Generic (SignKeyKES (CompactSumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSum

Associated Types

type Rep (SignKeyKES (CompactSumKES h d)) ∷ TypeType #

Generic (SignKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Associated Types

type Rep (SignKeyKES (MockKES t)) ∷ TypeType #

Methods

fromSignKeyKES (MockKES t) → Rep (SignKeyKES (MockKES t)) x #

toRep (SignKeyKES (MockKES t)) x → SignKeyKES (MockKES t) #

Generic (SignKeyKES NeverKES) 
Instance details

Defined in Cardano.Crypto.KES.NeverUsed

Associated Types

type Rep (SignKeyKES NeverKES) ∷ TypeType #

Generic (SignKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Associated Types

type Rep (SignKeyKES (SimpleKES d t)) ∷ TypeType #

Methods

fromSignKeyKES (SimpleKES d t) → Rep (SignKeyKES (SimpleKES d t)) x #

toRep (SignKeyKES (SimpleKES d t)) x → SignKeyKES (SimpleKES d t) #

Generic (SignKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Associated Types

type Rep (SignKeyKES (SingleKES d)) ∷ TypeType #

Generic (SignKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Associated Types

type Rep (SignKeyKES (SumKES h d)) ∷ TypeType #

Methods

fromSignKeyKES (SumKES h d) → Rep (SignKeyKES (SumKES h d)) x #

toRep (SignKeyKES (SumKES h d)) x → SignKeyKES (SumKES h d) #

Generic (VerKeyKES (CompactSingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSingle

Associated Types

type Rep (VerKeyKES (CompactSingleKES d)) ∷ TypeType #

Generic (VerKeyKES (CompactSumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.CompactSum

Associated Types

type Rep (VerKeyKES (CompactSumKES h d)) ∷ TypeType #

Generic (VerKeyKES (MockKES t)) 
Instance details

Defined in Cardano.Crypto.KES.Mock

Associated Types

type Rep (VerKeyKES (MockKES t)) ∷ TypeType #

Methods

fromVerKeyKES (MockKES t) → Rep (VerKeyKES (MockKES t)) x #

toRep (VerKeyKES (MockKES t)) x → VerKeyKES (MockKES t) #

Generic (VerKeyKES NeverKES) 
Instance details

Defined in Cardano.Crypto.KES.NeverUsed

Associated Types

type Rep (VerKeyKES NeverKES) ∷ TypeType #

Generic (VerKeyKES (SimpleKES d t)) 
Instance details

Defined in Cardano.Crypto.KES.Simple

Associated Types

type Rep (VerKeyKES (SimpleKES d t)) ∷ TypeType #

Methods

fromVerKeyKES (SimpleKES d t) → Rep (VerKeyKES (SimpleKES d t)) x #

toRep (VerKeyKES (SimpleKES d t)) x → VerKeyKES (SimpleKES d t) #

Generic (VerKeyKES (SingleKES d)) 
Instance details

Defined in Cardano.Crypto.KES.Single

Associated Types

type Rep (VerKeyKES (SingleKES d)) ∷ TypeType #

Methods

fromVerKeyKES (SingleKES d) → Rep (VerKeyKES (SingleKES d)) x #

toRep (VerKeyKES (SingleKES d)) x → VerKeyKES (SingleKES d) #

Generic (VerKeyKES (SumKES h d)) 
Instance details

Defined in Cardano.Crypto.KES.Sum

Associated Types

type Rep (VerKeyKES (SumKES h d)) ∷ TypeType #

Methods

fromVerKeyKES (SumKES h d) → Rep (VerKeyKES (SumKES h d)) x #

toRep (VerKeyKES (SumKES h d)) x → VerKeyKES (SumKES h d) #

Generic (CertVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (CertVRF MockVRF) ∷ TypeType #

Generic (CertVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (CertVRF NeverVRF) ∷ TypeType #

Generic (CertVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (CertVRF SimpleVRF) ∷ TypeType #

Generic (CertVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep (CertVRF PraosVRF) ∷ TypeType #

Generic (CertVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep (CertVRF PraosBatchCompatVRF) ∷ TypeType #

Generic (SignKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (SignKeyVRF MockVRF) ∷ TypeType #

Generic (SignKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (SignKeyVRF NeverVRF) ∷ TypeType #

Generic (SignKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (SignKeyVRF SimpleVRF) ∷ TypeType #

Generic (SignKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep (SignKeyVRF PraosVRF) ∷ TypeType #

Generic (SignKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep (SignKeyVRF PraosBatchCompatVRF) ∷ TypeType #

Generic (VerKeyVRF MockVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Mock

Associated Types

type Rep (VerKeyVRF MockVRF) ∷ TypeType #

Generic (VerKeyVRF NeverVRF) 
Instance details

Defined in Cardano.Crypto.VRF.NeverUsed

Associated Types

type Rep (VerKeyVRF NeverVRF) ∷ TypeType #

Generic (VerKeyVRF SimpleVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Simple

Associated Types

type Rep (VerKeyVRF SimpleVRF) ∷ TypeType #

Generic (VerKeyVRF PraosVRF) 
Instance details

Defined in Cardano.Crypto.VRF.Praos

Associated Types

type Rep (VerKeyVRF PraosVRF) ∷ TypeType #

Generic (VerKeyVRF PraosBatchCompatVRF) 
Instance details

Defined in Cardano.Crypto.VRF.PraosBatchCompat

Associated Types

type Rep (VerKeyVRF PraosBatchCompatVRF) ∷ TypeType #

Generic (AProtocolMagic a) 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

Associated Types

type Rep (AProtocolMagic a) ∷ TypeType #

Methods

fromAProtocolMagic a → Rep (AProtocolMagic a) x #

toRep (AProtocolMagic a) x → AProtocolMagic a #

Generic (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

Associated Types

type Rep (RedeemSignature a) ∷ TypeType #

Generic (Signature a) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Associated Types

type Rep (Signature a) ∷ TypeType #

Methods

fromSignature a → Rep (Signature a) x #

toRep (Signature a) x → Signature a #

Generic (OSet a) 
Instance details

Defined in Data.OSet.Strict

Associated Types

type Rep (OSet a) ∷ TypeType #

Methods

fromOSet a → Rep (OSet a) x #

toRep (OSet a) x → OSet a #

Generic (AllegraUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Allegra.Rules.Utxo

Associated Types

type Rep (AllegraUtxoPredFailure era) ∷ TypeType #

Generic (Timelock era) 
Instance details

Defined in Cardano.Ledger.Allegra.Scripts

Associated Types

type Rep (Timelock era) ∷ TypeType #

Methods

fromTimelock era → Rep (Timelock era) x #

toRep (Timelock era) x → Timelock era #

Generic (TimelockRaw era) 
Instance details

Defined in Cardano.Ledger.Allegra.Scripts

Associated Types

type Rep (TimelockRaw era) ∷ TypeType #

Methods

fromTimelockRaw era → Rep (TimelockRaw era) x #

toRep (TimelockRaw era) x → TimelockRaw era #

Generic (AllegraTxAuxData era) 
Instance details

Defined in Cardano.Ledger.Allegra.TxAuxData

Associated Types

type Rep (AllegraTxAuxData era) ∷ TypeType #

Methods

fromAllegraTxAuxData era → Rep (AllegraTxAuxData era) x #

toRep (AllegraTxAuxData era) x → AllegraTxAuxData era #

Generic (AllegraTxAuxDataRaw era) 
Instance details

Defined in Cardano.Ledger.Allegra.TxAuxData

Associated Types

type Rep (AllegraTxAuxDataRaw era) ∷ TypeType #

Generic (AllegraTxBody era) 
Instance details

Defined in Cardano.Ledger.Allegra.TxBody

Associated Types

type Rep (AllegraTxBody era) ∷ TypeType #

Methods

fromAllegraTxBody era → Rep (AllegraTxBody era) x #

toRep (AllegraTxBody era) x → AllegraTxBody era #

Generic (DowngradeAlonzoPParams f) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Associated Types

type Rep (DowngradeAlonzoPParams f) ∷ TypeType #

Generic (UpgradeAlonzoPParams f) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Associated Types

type Rep (UpgradeAlonzoPParams f) ∷ TypeType #

Generic (CollectError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.Evaluate

Associated Types

type Rep (CollectError era) ∷ TypeType #

Methods

fromCollectError era → Rep (CollectError era) x #

toRep (CollectError era) x → CollectError era #

Generic (AlonzoContextError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.TxInfo

Associated Types

type Rep (AlonzoContextError era) ∷ TypeType #

Generic (AlonzoBbodyPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Bbody

Associated Types

type Rep (AlonzoBbodyPredFailure era) ∷ TypeType #

Generic (AlonzoUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxo

Associated Types

type Rep (AlonzoUtxoPredFailure era) ∷ TypeType #

Generic (AlonzoUtxosPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxos

Associated Types

type Rep (AlonzoUtxosPredFailure era) ∷ TypeType #

Generic (AlonzoUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Rules.Utxow

Associated Types

type Rep (AlonzoUtxowPredFailure era) ∷ TypeType #

Generic (AlonzoScript era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Associated Types

type Rep (AlonzoScript era) ∷ TypeType #

Methods

fromAlonzoScript era → Rep (AlonzoScript era) x #

toRep (AlonzoScript era) x → AlonzoScript era #

Generic (PlutusScript (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Associated Types

type Rep (PlutusScript (AlonzoEra c)) ∷ TypeType #

Generic (AlonzoTx era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Associated Types

type Rep (AlonzoTx era) ∷ TypeType #

Methods

fromAlonzoTx era → Rep (AlonzoTx era) x #

toRep (AlonzoTx era) x → AlonzoTx era #

Generic (ScriptIntegrity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Tx

Associated Types

type Rep (ScriptIntegrity era) ∷ TypeType #

Methods

fromScriptIntegrity era → Rep (ScriptIntegrity era) x #

toRep (ScriptIntegrity era) x → ScriptIntegrity era #

Generic (AlonzoTxAuxData era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxAuxData

Associated Types

type Rep (AlonzoTxAuxData era) ∷ TypeType #

Methods

fromAlonzoTxAuxData era → Rep (AlonzoTxAuxData era) x #

toRep (AlonzoTxAuxData era) x → AlonzoTxAuxData era #

Generic (AlonzoTxAuxDataRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxAuxData

Associated Types

type Rep (AlonzoTxAuxDataRaw era) ∷ TypeType #

Generic (AlonzoTxBody era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Associated Types

type Rep (AlonzoTxBody era) ∷ TypeType #

Methods

fromAlonzoTxBody era → Rep (AlonzoTxBody era) x #

toRep (AlonzoTxBody era) x → AlonzoTxBody era #

Generic (AlonzoTxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Associated Types

type Rep (AlonzoTxBodyRaw era) ∷ TypeType #

Methods

fromAlonzoTxBodyRaw era → Rep (AlonzoTxBodyRaw era) x #

toRep (AlonzoTxBodyRaw era) x → AlonzoTxBodyRaw era #

Generic (AlonzoTxOut era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxOut

Associated Types

type Rep (AlonzoTxOut era) ∷ TypeType #

Methods

fromAlonzoTxOut era → Rep (AlonzoTxOut era) x #

toRep (AlonzoTxOut era) x → AlonzoTxOut era #

Generic (AlonzoTxSeq era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxSeq

Associated Types

type Rep (AlonzoTxSeq era) ∷ TypeType #

Methods

fromAlonzoTxSeq era → Rep (AlonzoTxSeq era) x #

toRep (AlonzoTxSeq era) x → AlonzoTxSeq era #

Generic (AlonzoTxWits era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (AlonzoTxWits era) ∷ TypeType #

Methods

fromAlonzoTxWits era → Rep (AlonzoTxWits era) x #

toRep (AlonzoTxWits era) x → AlonzoTxWits era #

Generic (AlonzoTxWitsRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (AlonzoTxWitsRaw era) ∷ TypeType #

Methods

fromAlonzoTxWitsRaw era → Rep (AlonzoTxWitsRaw era) x #

toRep (AlonzoTxWitsRaw era) x → AlonzoTxWitsRaw era #

Generic (Redeemers era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (Redeemers era) ∷ TypeType #

Methods

fromRedeemers era → Rep (Redeemers era) x #

toRep (Redeemers era) x → Redeemers era #

Generic (RedeemersRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (RedeemersRaw era) ∷ TypeType #

Methods

fromRedeemersRaw era → Rep (RedeemersRaw era) x #

toRep (RedeemersRaw era) x → RedeemersRaw era #

Generic (TxDats era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (TxDats era) ∷ TypeType #

Methods

fromTxDats era → Rep (TxDats era) x #

toRep (TxDats era) x → TxDats era #

Generic (TxDatsRaw era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxWits

Associated Types

type Rep (TxDatsRaw era) ∷ TypeType #

Methods

fromTxDatsRaw era → Rep (TxDatsRaw era) x #

toRep (TxDatsRaw era) x → TxDatsRaw era #

Generic (CommitteeMemberState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Associated Types

type Rep (CommitteeMemberState c) ∷ TypeType #

Generic (CommitteeMembersState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Associated Types

type Rep (CommitteeMembersState c) ∷ TypeType #

Generic (HotCredAuthStatus c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Associated Types

type Rep (HotCredAuthStatus c) ∷ TypeType #

Generic (BabbageUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxo

Associated Types

type Rep (BabbageUtxoPredFailure era) ∷ TypeType #

Generic (BabbageUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Babbage.Rules.Utxow

Associated Types

type Rep (BabbageUtxowPredFailure era) ∷ TypeType #

Generic (BabbageTxBody era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Associated Types

type Rep (BabbageTxBody era) ∷ TypeType #

Methods

fromBabbageTxBody era → Rep (BabbageTxBody era) x #

toRep (BabbageTxBody era) x → BabbageTxBody era #

Generic (BabbageTxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxBody

Associated Types

type Rep (BabbageTxBodyRaw era) ∷ TypeType #

Methods

fromBabbageTxBodyRaw era → Rep (BabbageTxBodyRaw era) x #

toRep (BabbageTxBodyRaw era) x → BabbageTxBodyRaw era #

Generic (BabbageContextError era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxInfo

Associated Types

type Rep (BabbageContextError era) ∷ TypeType #

Generic (BabbageTxOut era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxOut

Associated Types

type Rep (BabbageTxOut era) ∷ TypeType #

Methods

fromBabbageTxOut era → Rep (BabbageTxOut era) x #

toRep (BabbageTxOut era) x → BabbageTxOut era #

Generic (Sized a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Sized

Associated Types

type Rep (Sized a) ∷ TypeType #

Methods

fromSized a → Rep (Sized a) x #

toRep (Sized a) x → Sized a #

Generic (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Associated Types

type Rep (ABlock a) ∷ TypeType #

Methods

fromABlock a → Rep (ABlock a) x #

toRep (ABlock a) x → ABlock a #

Generic (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

Associated Types

type Rep (ABlockOrBoundary a) ∷ TypeType #

Generic (ABlockOrBoundaryHdr a) 
Instance details

Defined in Cardano.Chain.Block.Block

Associated Types

type Rep (ABlockOrBoundaryHdr a) ∷ TypeType #

Generic (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Associated Types

type Rep (ABoundaryBlock a) ∷ TypeType #

Methods

fromABoundaryBlock a → Rep (ABoundaryBlock a) x #

toRep (ABoundaryBlock a) x → ABoundaryBlock a #

Generic (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

Associated Types

type Rep (ABoundaryBody a) ∷ TypeType #

Methods

fromABoundaryBody a → Rep (ABoundaryBody a) x #

toRep (ABoundaryBody a) x → ABoundaryBody a #

Generic (ABody a) 
Instance details

Defined in Cardano.Chain.Block.Body

Associated Types

type Rep (ABody a) ∷ TypeType #

Methods

fromABody a → Rep (ABody a) x #

toRep (ABody a) x → ABody a #

Generic (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

Associated Types

type Rep (ABlockSignature a) ∷ TypeType #

Generic (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Associated Types

type Rep (ABoundaryHeader a) ∷ TypeType #

Generic (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

Associated Types

type Rep (AHeader a) ∷ TypeType #

Methods

fromAHeader a → Rep (AHeader a) x #

toRep (AHeader a) x → AHeader a #

Generic (Attributes h) 
Instance details

Defined in Cardano.Chain.Common.Attributes

Associated Types

type Rep (Attributes h) ∷ TypeType #

Methods

fromAttributes h → Rep (Attributes h) x #

toRep (Attributes h) x → Attributes h #

Generic (MerkleNode a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Associated Types

type Rep (MerkleNode a) ∷ TypeType #

Methods

fromMerkleNode a → Rep (MerkleNode a) x #

toRep (MerkleNode a) x → MerkleNode a #

Generic (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Associated Types

type Rep (MerkleRoot a) ∷ TypeType #

Methods

fromMerkleRoot a → Rep (MerkleRoot a) x #

toRep (MerkleRoot a) x → MerkleRoot a #

Generic (MerkleTree a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

Associated Types

type Rep (MerkleTree a) ∷ TypeType #

Methods

fromMerkleTree a → Rep (MerkleTree a) x #

toRep (MerkleTree a) x → MerkleTree a #

Generic (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

Associated Types

type Rep (ACertificate a) ∷ TypeType #

Methods

fromACertificate a → Rep (ACertificate a) x #

toRep (ACertificate a) x → ACertificate a #

Generic (APayload a) 
Instance details

Defined in Cardano.Chain.Delegation.Payload

Associated Types

type Rep (APayload a) ∷ TypeType #

Methods

fromAPayload a → Rep (APayload a) x #

toRep (APayload a) x → APayload a #

Generic (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Associated Types

type Rep (ATxAux a) ∷ TypeType #

Methods

fromATxAux a → Rep (ATxAux a) x #

toRep (ATxAux a) x → ATxAux a #

Generic (ATxPayload a) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

Associated Types

type Rep (ATxPayload a) ∷ TypeType #

Methods

fromATxPayload a → Rep (ATxPayload a) x #

toRep (ATxPayload a) x → ATxPayload a #

Generic (APayload a) 
Instance details

Defined in Cardano.Chain.Update.Payload

Associated Types

type Rep (APayload a) ∷ TypeType #

Methods

fromAPayload a → Rep (APayload a) x #

toRep (APayload a) x → APayload a #

Generic (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

Associated Types

type Rep (AProposal a) ∷ TypeType #

Methods

fromAProposal a → Rep (AProposal a) x #

toRep (AProposal a) x → AProposal a #

Generic (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Associated Types

type Rep (AVote a) ∷ TypeType #

Methods

fromAVote a → Rep (AVote a) x #

toRep (AVote a) x → AVote a #

Generic (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Associated Types

type Rep (ConwayGenesis c) ∷ TypeType #

Methods

fromConwayGenesis c → Rep (ConwayGenesis c) x #

toRep (ConwayGenesis c) x → ConwayGenesis c #

Generic (ConwayGovState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Associated Types

type Rep (ConwayGovState era) ∷ TypeType #

Methods

fromConwayGovState era → Rep (ConwayGovState era) x #

toRep (ConwayGovState era) x → ConwayGovState era #

Generic (DRepPulsingState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Associated Types

type Rep (DRepPulsingState era) ∷ TypeType #

Methods

fromDRepPulsingState era → Rep (DRepPulsingState era) x #

toRep (DRepPulsingState era) x → DRepPulsingState era #

Generic (EnactState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Associated Types

type Rep (EnactState era) ∷ TypeType #

Methods

fromEnactState era → Rep (EnactState era) x #

toRep (EnactState era) x → EnactState era #

Generic (PulsingSnapshot era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Associated Types

type Rep (PulsingSnapshot era) ∷ TypeType #

Methods

fromPulsingSnapshot era → Rep (PulsingSnapshot era) x #

toRep (PulsingSnapshot era) x → PulsingSnapshot era #

Generic (RatifyState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Associated Types

type Rep (RatifyState era) ∷ TypeType #

Methods

fromRatifyState era → Rep (RatifyState era) x #

toRep (RatifyState era) x → RatifyState era #

Generic (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (Committee era) ∷ TypeType #

Methods

fromCommittee era → Rep (Committee era) x #

toRep (Committee era) x → Committee era #

Generic (GovAction era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (GovAction era) ∷ TypeType #

Methods

fromGovAction era → Rep (GovAction era) x #

toRep (GovAction era) x → GovAction era #

Generic (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (GovActionId c) ∷ TypeType #

Methods

fromGovActionId c → Rep (GovActionId c) x #

toRep (GovActionId c) x → GovActionId c #

Generic (GovActionState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (GovActionState era) ∷ TypeType #

Methods

fromGovActionState era → Rep (GovActionState era) x #

toRep (GovActionState era) x → GovActionState era #

Generic (GovProcedures era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (GovProcedures era) ∷ TypeType #

Methods

fromGovProcedures era → Rep (GovProcedures era) x #

toRep (GovProcedures era) x → GovProcedures era #

Generic (ProposalProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (ProposalProcedure era) ∷ TypeType #

Methods

fromProposalProcedure era → Rep (ProposalProcedure era) x #

toRep (ProposalProcedure era) x → ProposalProcedure era #

Generic (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (Voter c) ∷ TypeType #

Methods

fromVoter c → Rep (Voter c) x #

toRep (Voter c) x → Voter c #

Generic (VotingProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (VotingProcedure era) ∷ TypeType #

Methods

fromVotingProcedure era → Rep (VotingProcedure era) x #

toRep (VotingProcedure era) x → VotingProcedure era #

Generic (VotingProcedures era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (VotingProcedures era) ∷ TypeType #

Methods

fromVotingProcedures era → Rep (VotingProcedures era) x #

toRep (VotingProcedures era) x → VotingProcedures era #

Generic (PEdges a) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (PEdges a) ∷ TypeType #

Methods

fromPEdges a → Rep (PEdges a) x #

toRep (PEdges a) x → PEdges a #

Generic (PGraph a) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (PGraph a) ∷ TypeType #

Methods

fromPGraph a → Rep (PGraph a) x #

toRep (PGraph a) x → PGraph a #

Generic (PRoot a) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (PRoot a) ∷ TypeType #

Methods

fromPRoot a → Rep (PRoot a) x #

toRep (PRoot a) x → PRoot a #

Generic (PrevGovActionIds era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (PrevGovActionIds era) ∷ TypeType #

Methods

fromPrevGovActionIds era → Rep (PrevGovActionIds era) x #

toRep (PrevGovActionIds era) x → PrevGovActionIds era #

Generic (Proposals era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (Proposals era) ∷ TypeType #

Methods

fromProposals era → Rep (Proposals era) x #

toRep (Proposals era) x → Proposals era #

Generic (UpgradeConwayPParams f) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Associated Types

type Rep (UpgradeConwayPParams f) ∷ TypeType #

Generic (ConwayCertPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Cert

Associated Types

type Rep (ConwayCertPredFailure era) ∷ TypeType #

Generic (ConwayCertsPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Certs

Associated Types

type Rep (ConwayCertsPredFailure era) ∷ TypeType #

Generic (ConwayDelegPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Deleg

Associated Types

type Rep (ConwayDelegPredFailure era) ∷ TypeType #

Generic (ConwayGovPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Gov

Associated Types

type Rep (ConwayGovPredFailure era) ∷ TypeType #

Generic (ConwayGovCertPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.GovCert

Associated Types

type Rep (ConwayGovCertPredFailure era) ∷ TypeType #

Generic (ConwayLedgerPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Ledger

Associated Types

type Rep (ConwayLedgerPredFailure era) ∷ TypeType #

Generic (ConwayNewEpochPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.NewEpoch

Associated Types

type Rep (ConwayNewEpochPredFailure era) ∷ TypeType #

Generic (ConwayTickfPredFailure era) 
Instance details

Defined in Cardano.Ledger.Conway.Rules.Tickf

Associated Types

type Rep (ConwayTickfPredFailure era) ∷ TypeType #

Generic (ConwayTxBody era) 
Instance details

Defined in Cardano.Ledger.Conway.TxBody

Associated Types

type Rep (ConwayTxBody era) ∷ TypeType #

Methods

fromConwayTxBody era → Rep (ConwayTxBody era) x #

toRep (ConwayTxBody era) x → ConwayTxBody era #

Generic (ConwayTxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Conway.TxBody

Associated Types

type Rep (ConwayTxBodyRaw era) ∷ TypeType #

Methods

fromConwayTxBodyRaw era → Rep (ConwayTxBodyRaw era) x #

toRep (ConwayTxBodyRaw era) x → ConwayTxBodyRaw era #

Generic (ConwayDelegCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Associated Types

type Rep (ConwayDelegCert c) ∷ TypeType #

Generic (ConwayGovCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Associated Types

type Rep (ConwayGovCert c) ∷ TypeType #

Methods

fromConwayGovCert c → Rep (ConwayGovCert c) x #

toRep (ConwayGovCert c) x → ConwayGovCert c #

Generic (ConwayTxCert era) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Associated Types

type Rep (ConwayTxCert era) ∷ TypeType #

Methods

fromConwayTxCert era → Rep (ConwayTxCert era) x #

toRep (ConwayTxCert era) x → ConwayTxCert era #

Generic (Delegatee c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Associated Types

type Rep (Delegatee c) ∷ TypeType #

Methods

fromDelegatee c → Rep (Delegatee c) x #

toRep (Delegatee c) x → Delegatee c #

Generic (ConwayContextError era) 
Instance details

Defined in Cardano.Ledger.Conway.TxInfo

Associated Types

type Rep (ConwayContextError era) ∷ TypeType #

Generic (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep (Addr c) ∷ TypeType #

Methods

fromAddr c → Rep (Addr c) x #

toRep (Addr c) x → Addr c #

Generic (BootstrapAddress c) 
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep (BootstrapAddress c) ∷ TypeType #

Generic (CompactAddr c) 
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep (CompactAddr c) ∷ TypeType #

Methods

fromCompactAddr c → Rep (CompactAddr c) x #

toRep (CompactAddr c) x → CompactAddr c #

Generic (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep (RewardAcnt c) ∷ TypeType #

Methods

fromRewardAcnt c → Rep (RewardAcnt c) x #

toRep (RewardAcnt c) x → RewardAcnt c #

Generic (Withdrawals c) 
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep (Withdrawals c) ∷ TypeType #

Methods

fromWithdrawals c → Rep (Withdrawals c) x #

toRep (Withdrawals c) x → Withdrawals c #

Generic (AuxiliaryDataHash c) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Associated Types

type Rep (AuxiliaryDataHash c) ∷ TypeType #

Generic (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep (Anchor c) ∷ TypeType #

Methods

fromAnchor c → Rep (Anchor c) x #

toRep (Anchor c) x → Anchor c #

Generic (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep (BlocksMade c) ∷ TypeType #

Methods

fromBlocksMade c → Rep (BlocksMade c) x #

toRep (BlocksMade c) x → BlocksMade c #

Generic (CertState era) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (CertState era) ∷ TypeType #

Methods

fromCertState era → Rep (CertState era) x #

toRep (CertState era) x → CertState era #

Generic (CommitteeState era) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (CommitteeState era) ∷ TypeType #

Methods

fromCommitteeState era → Rep (CommitteeState era) x #

toRep (CommitteeState era) x → CommitteeState era #

Generic (DState era) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (DState era) ∷ TypeType #

Methods

fromDState era → Rep (DState era) x #

toRep (DState era) x → DState era #

Generic (FutureGenDeleg c) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (FutureGenDeleg c) ∷ TypeType #

Methods

fromFutureGenDeleg c → Rep (FutureGenDeleg c) x #

toRep (FutureGenDeleg c) x → FutureGenDeleg c #

Generic (InstantaneousRewards c) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (InstantaneousRewards c) ∷ TypeType #

Generic (PState era) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (PState era) ∷ TypeType #

Methods

fromPState era → Rep (PState era) x #

toRep (PState era) x → PState era #

Generic (VState era) 
Instance details

Defined in Cardano.Ledger.CertState

Associated Types

type Rep (VState era) ∷ TypeType #

Methods

fromVState era → Rep (VState era) x #

toRep (VState era) x → VState era #

Generic (PParams era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Associated Types

type Rep (PParams era) ∷ TypeType #

Methods

fromPParams era → Rep (PParams era) x #

toRep (PParams era) x → PParams era #

Generic (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Associated Types

type Rep (PParamsUpdate era) ∷ TypeType #

Methods

fromPParamsUpdate era → Rep (PParamsUpdate era) x #

toRep (PParamsUpdate era) x → PParamsUpdate era #

Generic (Delegation c) 
Instance details

Defined in Cardano.Ledger.Core.TxCert

Associated Types

type Rep (Delegation c) ∷ TypeType #

Methods

fromDelegation c → Rep (Delegation c) x #

toRep (Delegation c) x → Delegation c #

Generic (PoolCert c) 
Instance details

Defined in Cardano.Ledger.Core.TxCert

Associated Types

type Rep (PoolCert c) ∷ TypeType #

Methods

fromPoolCert c → Rep (PoolCert c) x #

toRep (PoolCert c) x → PoolCert c #

Generic (GenesisCredential c) 
Instance details

Defined in Cardano.Ledger.Credential

Associated Types

type Rep (GenesisCredential c) ∷ TypeType #

Generic (StakeReference c) 
Instance details

Defined in Cardano.Ledger.Credential

Associated Types

type Rep (StakeReference c) ∷ TypeType #

Methods

fromStakeReference c → Rep (StakeReference c) x #

toRep (StakeReference c) x → StakeReference c #

Generic (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Associated Types

type Rep (DRep c) ∷ TypeType #

Methods

fromDRep c → Rep (DRep c) x #

toRep (DRep c) x → DRep c #

Generic (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Associated Types

type Rep (DRepState c) ∷ TypeType #

Methods

fromDRepState c → Rep (DRepState c) x #

toRep (DRepState c) x → DRepState c #

Generic (SnapShot c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Associated Types

type Rep (SnapShot c) ∷ TypeType #

Methods

fromSnapShot c → Rep (SnapShot c) x #

toRep (SnapShot c) x → SnapShot c #

Generic (SnapShots c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Associated Types

type Rep (SnapShots c) ∷ TypeType #

Methods

fromSnapShots c → Rep (SnapShots c) x #

toRep (SnapShots c) x → SnapShots c #

Generic (Stake c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Associated Types

type Rep (Stake c) ∷ TypeType #

Methods

fromStake c → Rep (Stake c) x #

toRep (Stake c) x → Stake c #

Generic (NoUpdate a) 
Instance details

Defined in Cardano.Ledger.HKD

Associated Types

type Rep (NoUpdate a) ∷ TypeType #

Methods

fromNoUpdate a → Rep (NoUpdate a) x #

toRep (NoUpdate a) x → NoUpdate a #

Generic (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Associated Types

type Rep (ScriptHash c) ∷ TypeType #

Methods

fromScriptHash c → Rep (ScriptHash c) x #

toRep (ScriptHash c) x → ScriptHash c #

Generic (BootstrapWitness c) 
Instance details

Defined in Cardano.Ledger.Keys.Bootstrap

Associated Types

type Rep (BootstrapWitness c) ∷ TypeType #

Generic (GKeys c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Associated Types

type Rep (GKeys c) ∷ TypeType #

Methods

fromGKeys c → Rep (GKeys c) x #

toRep (GKeys c) x → GKeys c #

Generic (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Associated Types

type Rep (GenDelegPair c) ∷ TypeType #

Methods

fromGenDelegPair c → Rep (GenDelegPair c) x #

toRep (GenDelegPair c) x → GenDelegPair c #

Generic (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Associated Types

type Rep (GenDelegs c) ∷ TypeType #

Methods

fromGenDelegs c → Rep (GenDelegs c) x #

toRep (GenDelegs c) x → GenDelegs c #

Generic (BinaryData era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Associated Types

type Rep (BinaryData era) ∷ TypeType #

Methods

fromBinaryData era → Rep (BinaryData era) x #

toRep (BinaryData era) x → BinaryData era #

Generic (Data era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Associated Types

type Rep (Data era) ∷ TypeType #

Methods

fromData era → Rep (Data era) x #

toRep (Data era) x → Data era #

Generic (Datum era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Associated Types

type Rep (Datum era) ∷ TypeType #

Methods

fromDatum era → Rep (Datum era) x #

toRep (Datum era) x → Datum era #

Generic (PlutusData era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Associated Types

type Rep (PlutusData era) ∷ TypeType #

Methods

fromPlutusData era → Rep (PlutusData era) x #

toRep (PlutusData era) x → PlutusData era #

Generic (ExUnits' a) 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Associated Types

type Rep (ExUnits' a) ∷ TypeType #

Methods

fromExUnits' a → Rep (ExUnits' a) x #

toRep (ExUnits' a) x → ExUnits' a #

Generic (Plutus l) 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Associated Types

type Rep (Plutus l) ∷ TypeType #

Methods

fromPlutus l → Rep (Plutus l) x #

toRep (Plutus l) x → Plutus l #

Generic (PlutusRunnable l) 
Instance details

Defined in Cardano.Ledger.Plutus.Language

Associated Types

type Rep (PlutusRunnable l) ∷ TypeType #

Methods

fromPlutusRunnable l → Rep (PlutusRunnable l) x #

toRep (PlutusRunnable l) x → PlutusRunnable l #

Generic (TxOutSource c) 
Instance details

Defined in Cardano.Ledger.Plutus.TxInfo

Associated Types

type Rep (TxOutSource c) ∷ TypeType #

Methods

fromTxOutSource c → Rep (TxOutSource c) x #

toRep (TxOutSource c) x → TxOutSource c #

Generic (IndividualPoolStake c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Associated Types

type Rep (IndividualPoolStake c) ∷ TypeType #

Generic (PoolDistr c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Associated Types

type Rep (PoolDistr c) ∷ TypeType #

Methods

fromPoolDistr c → Rep (PoolDistr c) x #

toRep (PoolDistr c) x → PoolDistr c #

Generic (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Associated Types

type Rep (PoolParams c) ∷ TypeType #

Methods

fromPoolParams c → Rep (PoolParams c) x #

toRep (PoolParams c) x → PoolParams c #

Generic (Reward c) 
Instance details

Defined in Cardano.Ledger.Rewards

Associated Types

type Rep (Reward c) ∷ TypeType #

Methods

fromReward c → Rep (Reward c) x #

toRep (Reward c) x → Reward c #

Generic (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Associated Types

type Rep (TxId c) ∷ TypeType #

Methods

fromTxId c → Rep (TxId c) x #

toRep (TxId c) x → TxId c #

Generic (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Associated Types

type Rep (TxIn c) ∷ TypeType #

Methods

fromTxIn c → Rep (TxIn c) x #

toRep (TxIn c) x → TxIn c #

Generic (StakeCredentials c) 
Instance details

Defined in Cardano.Ledger.UMap

Associated Types

type Rep (StakeCredentials c) ∷ TypeType #

Generic (UMElem c) 
Instance details

Defined in Cardano.Ledger.UMap

Associated Types

type Rep (UMElem c) ∷ TypeType #

Methods

fromUMElem c → Rep (UMElem c) x #

toRep (UMElem c) x → UMElem c #

Generic (UMap c) 
Instance details

Defined in Cardano.Ledger.UMap

Associated Types

type Rep (UMap c) ∷ TypeType #

Methods

fromUMap c → Rep (UMap c) x #

toRep (UMap c) x → UMap c #

Generic (ScriptsProvided era) 
Instance details

Defined in Cardano.Ledger.UTxO

Associated Types

type Rep (ScriptsProvided era) ∷ TypeType #

Methods

fromScriptsProvided era → Rep (ScriptsProvided era) x #

toRep (ScriptsProvided era) x → ScriptsProvided era #

Generic (UTxO era) 
Instance details

Defined in Cardano.Ledger.UTxO

Associated Types

type Rep (UTxO era) ∷ TypeType #

Methods

fromUTxO era → Rep (UTxO era) x #

toRep (UTxO era) x → UTxO era #

Generic (MaryTxBody era) 
Instance details

Defined in Cardano.Ledger.Mary.TxBody

Associated Types

type Rep (MaryTxBody era) ∷ TypeType #

Methods

fromMaryTxBody era → Rep (MaryTxBody era) x #

toRep (MaryTxBody era) x → MaryTxBody era #

Generic (MaryTxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Mary.TxBody

Associated Types

type Rep (MaryTxBodyRaw era) ∷ TypeType #

Methods

fromMaryTxBodyRaw era → Rep (MaryTxBodyRaw era) x #

toRep (MaryTxBodyRaw era) x → MaryTxBodyRaw era #

Generic (CompactValue c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Associated Types

type Rep (CompactValue c) ∷ TypeType #

Methods

fromCompactValue c → Rep (CompactValue c) x #

toRep (CompactValue c) x → CompactValue c #

Generic (MaryValue c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Associated Types

type Rep (MaryValue c) ∷ TypeType #

Methods

fromMaryValue c → Rep (MaryValue c) x #

toRep (MaryValue c) x → MaryValue c #

Generic (MultiAsset c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Associated Types

type Rep (MultiAsset c) ∷ TypeType #

Methods

fromMultiAsset c → Rep (MultiAsset c) x #

toRep (MultiAsset c) x → MultiAsset c #

Generic (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Associated Types

type Rep (PolicyID c) ∷ TypeType #

Methods

fromPolicyID c → Rep (PolicyID c) x #

toRep (PolicyID c) x → PolicyID c #

Generic (BlockTransitionError era) 
Instance details

Defined in Cardano.Ledger.Shelley.API.Validation

Associated Types

type Rep (BlockTransitionError era) ∷ TypeType #

Generic (TickTransitionError era) 
Instance details

Defined in Cardano.Ledger.Shelley.API.Validation

Associated Types

type Rep (TickTransitionError era) ∷ TypeType #

Generic (ShelleyTxSeq era) 
Instance details

Defined in Cardano.Ledger.Shelley.BlockChain

Associated Types

type Rep (ShelleyTxSeq era) ∷ TypeType #

Methods

fromShelleyTxSeq era → Rep (ShelleyTxSeq era) x #

toRep (ShelleyTxSeq era) x → ShelleyTxSeq era #

Generic (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep (ShelleyGenesis c) ∷ TypeType #

Methods

fromShelleyGenesis c → Rep (ShelleyGenesis c) x #

toRep (ShelleyGenesis c) x → ShelleyGenesis c #

Generic (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Associated Types

type Rep (ShelleyGenesisStaking c) ∷ TypeType #

Generic (Constitution era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Associated Types

type Rep (Constitution era) ∷ TypeType #

Methods

fromConstitution era → Rep (Constitution era) x #

toRep (Constitution era) x → Constitution era #

Generic (ShelleyGovState era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Associated Types

type Rep (ShelleyGovState era) ∷ TypeType #

Methods

fromShelleyGovState era → Rep (ShelleyGovState era) x #

toRep (ShelleyGovState era) x → ShelleyGovState era #

Generic (EpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep (EpochState era) ∷ TypeType #

Methods

fromEpochState era → Rep (EpochState era) x #

toRep (EpochState era) x → EpochState era #

Generic (IncrementalStake c) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep (IncrementalStake c) ∷ TypeType #

Generic (LedgerState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep (LedgerState era) ∷ TypeType #

Methods

fromLedgerState era → Rep (LedgerState era) x #

toRep (LedgerState era) x → LedgerState era #

Generic (NewEpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep (NewEpochState era) ∷ TypeType #

Methods

fromNewEpochState era → Rep (NewEpochState era) x #

toRep (NewEpochState era) x → NewEpochState era #

Generic (UTxOState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Associated Types

type Rep (UTxOState era) ∷ TypeType #

Methods

fromUTxOState era → Rep (UTxOState era) x #

toRep (UTxOState era) x → UTxOState era #

Generic (PPUpdateEnv era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Associated Types

type Rep (PPUpdateEnv era) ∷ TypeType #

Methods

fromPPUpdateEnv era → Rep (PPUpdateEnv era) x #

toRep (PPUpdateEnv era) x → PPUpdateEnv era #

Generic (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Associated Types

type Rep (ProposedPPUpdates era) ∷ TypeType #

Methods

fromProposedPPUpdates era → Rep (ProposedPPUpdates era) x #

toRep (ProposedPPUpdates era) x → ProposedPPUpdates era #

Generic (Update era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Associated Types

type Rep (Update era) ∷ TypeType #

Methods

fromUpdate era → Rep (Update era) x #

toRep (Update era) x → Update era #

Generic (NonMyopic c) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Associated Types

type Rep (NonMyopic c) ∷ TypeType #

Methods

fromNonMyopic c → Rep (NonMyopic c) x #

toRep (NonMyopic c) x → NonMyopic c #

Generic (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Associated Types

type Rep (RewardProvenance c) ∷ TypeType #

Generic (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Associated Types

type Rep (RewardProvenancePool c) ∷ TypeType #

Generic (FreeVars c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Associated Types

type Rep (FreeVars c) ∷ TypeType #

Methods

fromFreeVars c → Rep (FreeVars c) x #

toRep (FreeVars c) x → FreeVars c #

Generic (PulsingRewUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Associated Types

type Rep (PulsingRewUpdate c) ∷ TypeType #

Generic (RewardAns c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Associated Types

type Rep (RewardAns c) ∷ TypeType #

Methods

fromRewardAns c → Rep (RewardAns c) x #

toRep (RewardAns c) x → RewardAns c #

Generic (RewardSnapShot c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Associated Types

type Rep (RewardSnapShot c) ∷ TypeType #

Methods

fromRewardSnapShot c → Rep (RewardSnapShot c) x #

toRep (RewardSnapShot c) x → RewardSnapShot c #

Generic (RewardUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Associated Types

type Rep (RewardUpdate c) ∷ TypeType #

Methods

fromRewardUpdate c → Rep (RewardUpdate c) x #

toRep (RewardUpdate c) x → RewardUpdate c #

Generic (LeaderOnlyReward c) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Associated Types

type Rep (LeaderOnlyReward c) ∷ TypeType #

Generic (PoolRewardInfo c) 
Instance details

Defined in Cardano.Ledger.Shelley.Rewards

Associated Types

type Rep (PoolRewardInfo c) ∷ TypeType #

Methods

fromPoolRewardInfo c → Rep (PoolRewardInfo c) x #

toRep (PoolRewardInfo c) x → PoolRewardInfo c #

Generic (ShelleyBbodyPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Bbody

Associated Types

type Rep (ShelleyBbodyPredFailure era) ∷ TypeType #

Generic (ShelleyDelegPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Deleg

Associated Types

type Rep (ShelleyDelegPredFailure era) ∷ TypeType #

Generic (ShelleyDelegsPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delegs

Associated Types

type Rep (ShelleyDelegsPredFailure era) ∷ TypeType #

Generic (ShelleyDelplPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Delpl

Associated Types

type Rep (ShelleyDelplPredFailure era) ∷ TypeType #

Generic (ShelleyEpochPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Epoch

Associated Types

type Rep (ShelleyEpochPredFailure era) ∷ TypeType #

Generic (ShelleyLedgerPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledger

Associated Types

type Rep (ShelleyLedgerPredFailure era) ∷ TypeType #

Generic (ShelleyLedgersPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ledgers

Associated Types

type Rep (ShelleyLedgersPredFailure era) ∷ TypeType #

Generic (ShelleyMirPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Mir

Associated Types

type Rep (ShelleyMirPredFailure era) ∷ TypeType #

Generic (ShelleyNewEpochPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.NewEpoch

Associated Types

type Rep (ShelleyNewEpochPredFailure era) ∷ TypeType #

Generic (ShelleyNewppPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Newpp

Associated Types

type Rep (ShelleyNewppPredFailure era) ∷ TypeType #

Generic (ShelleyPoolPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Pool

Associated Types

type Rep (ShelleyPoolPredFailure era) ∷ TypeType #

Generic (ShelleyPoolreapPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.PoolReap

Associated Types

type Rep (ShelleyPoolreapPredFailure era) ∷ TypeType #

Generic (ShelleyPpupPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Ppup

Associated Types

type Rep (ShelleyPpupPredFailure era) ∷ TypeType #

Generic (ShelleyRupdPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Rupd

Associated Types

type Rep (ShelleyRupdPredFailure era) ∷ TypeType #

Generic (ShelleySnapPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Snap

Associated Types

type Rep (ShelleySnapPredFailure era) ∷ TypeType #

Generic (ShelleyTickEvent era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

Associated Types

type Rep (ShelleyTickEvent era) ∷ TypeType #

Methods

fromShelleyTickEvent era → Rep (ShelleyTickEvent era) x #

toRep (ShelleyTickEvent era) x → ShelleyTickEvent era #

Generic (ShelleyTickPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

Associated Types

type Rep (ShelleyTickPredFailure era) ∷ TypeType #

Generic (ShelleyTickfPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Tick

Associated Types

type Rep (ShelleyTickfPredFailure era) ∷ TypeType #

Generic (ShelleyUpecPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Upec

Associated Types

type Rep (ShelleyUpecPredFailure era) ∷ TypeType #

Generic (ShelleyUtxoPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxo

Associated Types

type Rep (ShelleyUtxoPredFailure era) ∷ TypeType #

Generic (ShelleyUtxowPredFailure era) 
Instance details

Defined in Cardano.Ledger.Shelley.Rules.Utxow

Associated Types

type Rep (ShelleyUtxowPredFailure era) ∷ TypeType #

Generic (MultiSig era) 
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Associated Types

type Rep (MultiSig era) ∷ TypeType #

Methods

fromMultiSig era → Rep (MultiSig era) x #

toRep (MultiSig era) x → MultiSig era #

Generic (MultiSigRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Associated Types

type Rep (MultiSigRaw era) ∷ TypeType #

Methods

fromMultiSigRaw era → Rep (MultiSigRaw era) x #

toRep (MultiSigRaw era) x → MultiSigRaw era #

Generic (TransitionConfig (ShelleyEra c)) 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

Associated Types

type Rep (TransitionConfig (ShelleyEra c)) ∷ TypeType #

Generic (FromByronTranslationContext c) 
Instance details

Defined in Cardano.Ledger.Shelley.Translation

Associated Types

type Rep (FromByronTranslationContext c) ∷ TypeType #

Generic (ShelleyTx era) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Associated Types

type Rep (ShelleyTx era) ∷ TypeType #

Methods

fromShelleyTx era → Rep (ShelleyTx era) x #

toRep (ShelleyTx era) x → ShelleyTx era #

Generic (ShelleyTxRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Associated Types

type Rep (ShelleyTxRaw era) ∷ TypeType #

Methods

fromShelleyTxRaw era → Rep (ShelleyTxRaw era) x #

toRep (ShelleyTxRaw era) x → ShelleyTxRaw era #

Generic (ShelleyTxAuxData era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxAuxData

Associated Types

type Rep (ShelleyTxAuxData era) ∷ TypeType #

Methods

fromShelleyTxAuxData era → Rep (ShelleyTxAuxData era) x #

toRep (ShelleyTxAuxData era) x → ShelleyTxAuxData era #

Generic (ShelleyTxBody era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep (ShelleyTxBody era) ∷ TypeType #

Methods

fromShelleyTxBody era → Rep (ShelleyTxBody era) x #

toRep (ShelleyTxBody era) x → ShelleyTxBody era #

Generic (ShelleyTxBodyRaw era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep (ShelleyTxBodyRaw era) ∷ TypeType #

Methods

fromShelleyTxBodyRaw era → Rep (ShelleyTxBodyRaw era) x #

toRep (ShelleyTxBodyRaw era) x → ShelleyTxBodyRaw era #

Generic (GenesisDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep (GenesisDelegCert c) ∷ TypeType #

Generic (MIRCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep (MIRCert c) ∷ TypeType #

Methods

fromMIRCert c → Rep (MIRCert c) x #

toRep (MIRCert c) x → MIRCert c #

Generic (MIRTarget c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep (MIRTarget c) ∷ TypeType #

Methods

fromMIRTarget c → Rep (MIRTarget c) x #

toRep (MIRTarget c) x → MIRTarget c #

Generic (ShelleyDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep (ShelleyDelegCert c) ∷ TypeType #

Generic (ShelleyTxCert era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Associated Types

type Rep (ShelleyTxCert era) ∷ TypeType #

Methods

fromShelleyTxCert era → Rep (ShelleyTxCert era) x #

toRep (ShelleyTxCert era) x → ShelleyTxCert era #

Era era ⇒ Generic (ShelleyTxWits era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type Rep (ShelleyTxWits era) ∷ TypeType #

Methods

fromShelleyTxWits era → Rep (ShelleyTxWits era) x #

toRep (ShelleyTxWits era) x → ShelleyTxWits era #

Generic (ChainDepState c) 
Instance details

Defined in Cardano.Protocol.TPraos.API

Associated Types

type Rep (ChainDepState c) ∷ TypeType #

Methods

fromChainDepState c → Rep (ChainDepState c) x #

toRep (ChainDepState c) x → ChainDepState c #

Generic (ChainTransitionError c) 
Instance details

Defined in Cardano.Protocol.TPraos.API

Associated Types

type Rep (ChainTransitionError c) ∷ TypeType #

Generic (LedgerView c) 
Instance details

Defined in Cardano.Protocol.TPraos.API

Associated Types

type Rep (LedgerView c) ∷ TypeType #

Methods

fromLedgerView c → Rep (LedgerView c) x #

toRep (LedgerView c) x → LedgerView c #

Generic (BHBody c) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Associated Types

type Rep (BHBody c) ∷ TypeType #

Methods

fromBHBody c → Rep (BHBody c) x #

toRep (BHBody c) x → BHBody c #

Generic (BHeader c) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Associated Types

type Rep (BHeader c) ∷ TypeType #

Methods

fromBHeader c → Rep (BHeader c) x #

toRep (BHeader c) x → BHeader c #

Generic (HashHeader c) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Associated Types

type Rep (HashHeader c) ∷ TypeType #

Methods

fromHashHeader c → Rep (HashHeader c) x #

toRep (HashHeader c) x → HashHeader c #

Generic (LastAppliedBlock c) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Associated Types

type Rep (LastAppliedBlock c) ∷ TypeType #

Generic (PrevHash c) 
Instance details

Defined in Cardano.Protocol.TPraos.BHeader

Associated Types

type Rep (PrevHash c) ∷ TypeType #

Methods

fromPrevHash c → Rep (PrevHash c) x #

toRep (PrevHash c) x → PrevHash c #

Generic (OCert c) 
Instance details

Defined in Cardano.Protocol.TPraos.OCert

Associated Types

type Rep (OCert c) ∷ TypeType #

Methods

fromOCert c → Rep (OCert c) x #

toRep (OCert c) x → OCert c #

Generic (OcertPredicateFailure c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.OCert

Associated Types

type Rep (OcertPredicateFailure c) ∷ TypeType #

Generic (OBftSlot c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Overlay

Associated Types

type Rep (OBftSlot c) ∷ TypeType #

Methods

fromOBftSlot c → Rep (OBftSlot c) x #

toRep (OBftSlot c) x → OBftSlot c #

Generic (OverlayEnv c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Overlay

Associated Types

type Rep (OverlayEnv c) ∷ TypeType #

Methods

fromOverlayEnv c → Rep (OverlayEnv c) x #

toRep (OverlayEnv c) x → OverlayEnv c #

Generic (OverlayPredicateFailure c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Overlay

Associated Types

type Rep (OverlayPredicateFailure c) ∷ TypeType #

Generic (PrtclEnv c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep (PrtclEnv c) ∷ TypeType #

Methods

fromPrtclEnv c → Rep (PrtclEnv c) x #

toRep (PrtclEnv c) x → PrtclEnv c #

Generic (PrtclPredicateFailure c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep (PrtclPredicateFailure c) ∷ TypeType #

Generic (PrtclState c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep (PrtclState c) ∷ TypeType #

Methods

fromPrtclState c → Rep (PrtclState c) x #

toRep (PrtclState c) x → PrtclState c #

Generic (PrtlSeqFailure c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Prtcl

Associated Types

type Rep (PrtlSeqFailure c) ∷ TypeType #

Methods

fromPrtlSeqFailure c → Rep (PrtlSeqFailure c) x #

toRep (PrtlSeqFailure c) x → PrtlSeqFailure c #

Generic (UpdnPredicateFailure c) 
Instance details

Defined in Cardano.Protocol.TPraos.Rules.Updn

Associated Types

type Rep (UpdnPredicateFailure c) ∷ TypeType #

Generic (WithOrigin t) 
Instance details

Defined in Cardano.Slotting.Slot

Associated Types

type Rep (WithOrigin t) ∷ TypeType #

Methods

fromWithOrigin t → Rep (WithOrigin t) x #

toRep (WithOrigin t) x → WithOrigin t #

Generic (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

Associated Types

type Rep (StrictMaybe a) ∷ TypeType #

Methods

fromStrictMaybe a → Rep (StrictMaybe a) x #

toRep (StrictMaybe a) x → StrictMaybe a #

Generic (Hash tag) 
Instance details

Defined in Cardano.Wallet.Primitive.Types.Hash

Associated Types

type Rep (Hash tag) ∷ TypeType #

Methods

fromHash tag → Rep (Hash tag) x #

toRep (Hash tag) x → Hash tag #

Generic (Flat a) 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenMap

Associated Types

type Rep (Flat a) ∷ TypeType #

Methods

fromFlat a → Rep (Flat a) x #

toRep (Flat a) x → Flat a #

Generic (Nested a) 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenMap

Associated Types

type Rep (Nested a) ∷ TypeType #

Methods

fromNested a → Rep (Nested a) x #

toRep (Nested a) x → Nested a #

Generic (ShowFmt a) 
Instance details

Defined in Cardano.Wallet.Util

Associated Types

type Rep (ShowFmt a) ∷ TypeType #

Methods

fromShowFmt a → Rep (ShowFmt a) x #

toRep (ShowFmt a) x → ShowFmt a #

Generic (NonRandom a) 
Instance details

Defined in Control.Monad.Random.NonRandom

Associated Types

type Rep (NonRandom a) ∷ TypeType #

Methods

fromNonRandom a → Rep (NonRandom a) x #

toRep (NonRandom a) x → NonRandom a #

Generic (SCC vertex) 
Instance details

Defined in Data.Graph

Associated Types

type Rep (SCC vertex) ∷ TypeType #

Methods

fromSCC vertex → Rep (SCC vertex) x #

toRep (SCC vertex) x → SCC vertex #

Generic (Digit a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Digit a) ∷ TypeType #

Methods

fromDigit a → Rep (Digit a) x #

toRep (Digit a) x → Digit a #

Generic (Elem a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Elem a) ∷ TypeType #

Methods

fromElem a → Rep (Elem a) x #

toRep (Elem a) x → Elem a #

Generic (FingerTree a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (FingerTree a) ∷ TypeType #

Methods

fromFingerTree a → Rep (FingerTree a) x #

toRep (FingerTree a) x → FingerTree a #

Generic (Node a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (Node a) ∷ TypeType #

Methods

fromNode a → Rep (Node a) x #

toRep (Node a) x → Node a #

Generic (ViewL a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewL a) ∷ TypeType #

Methods

fromViewL a → Rep (ViewL a) x #

toRep (ViewL a) x → ViewL a #

Generic (ViewR a) 
Instance details

Defined in Data.Sequence.Internal

Associated Types

type Rep (ViewR a) ∷ TypeType #

Methods

fromViewR a → Rep (ViewR a) x #

toRep (ViewR a) x → ViewR a #

Generic (Tree a) 
Instance details

Defined in Data.Tree

Associated Types

type Rep (Tree a) ∷ TypeType #

Methods

fromTree a → Rep (Tree a) x #

toRep (Tree a) x → Tree a #

Generic (Fix f) 
Instance details

Defined in Data.Fix

Associated Types

type Rep (Fix f) ∷ TypeType #

Methods

fromFix f → Rep (Fix f) x #

toRep (Fix f) x → Fix f #

Generic (Digit a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (Digit a) ∷ TypeType #

Methods

from ∷ Digit a → Rep (Digit a) x #

toRep (Digit a) x → Digit a #

Generic (PostAligned a) 
Instance details

Defined in Flat.Filler

Associated Types

type Rep (PostAligned a) ∷ TypeType #

Methods

fromPostAligned a → Rep (PostAligned a) x #

toRep (PostAligned a) x → PostAligned a #

Generic (PreAligned a) 
Instance details

Defined in Flat.Filler

Associated Types

type Rep (PreAligned a) ∷ TypeType #

Methods

fromPreAligned a → Rep (PreAligned a) x #

toRep (PreAligned a) x → PreAligned a #

Generic (Handle h) 
Instance details

Defined in System.FS.API.Types

Associated Types

type Rep (Handle h) ∷ TypeType #

Methods

fromHandle h → Rep (Handle h) x #

toRep (Handle h) x → Handle h #

Generic a ⇒ Generic (FiniteEnumeration a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (FiniteEnumeration a) ∷ TypeType #

Generic a ⇒ Generic (GenericProduct a) 
Instance details

Defined in Generic.Data.Internal.Generically

Associated Types

type Rep (GenericProduct a) ∷ TypeType #

Methods

fromGenericProduct a → Rep (GenericProduct a) x #

toRep (GenericProduct a) x → GenericProduct a #

Generic (GenClosure b) 
Instance details

Defined in GHC.Exts.Heap.Closures

Associated Types

type Rep (GenClosure b) ∷ TypeType #

Methods

fromGenClosure b → Rep (GenClosure b) x #

toRep (GenClosure b) x → GenClosure b #

Generic (HistoriedResponse body) 
Instance details

Defined in Network.HTTP.Client

Associated Types

type Rep (HistoriedResponse body) ∷ TypeType #

Methods

fromHistoriedResponse body → Rep (HistoriedResponse body) x #

toRep (HistoriedResponse body) x → HistoriedResponse body #

Generic (Resources a) 
Instance details

Defined in Cardano.BM.Stats.Resources

Associated Types

type Rep (Resources a) ∷ TypeType #

Methods

fromResources a → Rep (Resources a) x #

toRep (Resources a) x → Resources a #

Generic (AddrRange a) 
Instance details

Defined in Data.IP.Range

Associated Types

type Rep (AddrRange a) ∷ TypeType #

Methods

fromAddrRange a → Rep (AddrRange a) x #

toRep (AddrRange a) x → AddrRange a #

Generic (Item a) 
Instance details

Defined in Katip.Core

Associated Types

type Rep (Item a) ∷ TypeType #

Methods

fromItem a → Rep (Item a) x #

toRep (Item a) x → Item a #

Generic (MaestroApiV1 route) 
Instance details

Defined in Maestro.API.V1

Associated Types

type Rep (MaestroApiV1 route) ∷ TypeType #

Methods

fromMaestroApiV1 route → Rep (MaestroApiV1 route) x #

toRep (MaestroApiV1 route) x → MaestroApiV1 route #

Generic (MaestroApiV1Auth route) 
Instance details

Defined in Maestro.API.V1

Associated Types

type Rep (MaestroApiV1Auth route) ∷ TypeType #

Methods

fromMaestroApiV1Auth route → Rep (MaestroApiV1Auth route) x #

toRep (MaestroApiV1Auth route) x → MaestroApiV1Auth route #

Generic (AccountsAPI route) 
Instance details

Defined in Maestro.API.V1.Accounts

Associated Types

type Rep (AccountsAPI route) ∷ TypeType #

Methods

fromAccountsAPI route → Rep (AccountsAPI route) x #

toRep (AccountsAPI route) x → AccountsAPI route #

Generic (AddressesAPI route) 
Instance details

Defined in Maestro.API.V1.Addresses

Associated Types

type Rep (AddressesAPI route) ∷ TypeType #

Methods

fromAddressesAPI route → Rep (AddressesAPI route) x #

toRep (AddressesAPI route) x → AddressesAPI route #

Generic (AssetsAPI route) 
Instance details

Defined in Maestro.API.V1.Assets

Associated Types

type Rep (AssetsAPI route) ∷ TypeType #

Methods

fromAssetsAPI route → Rep (AssetsAPI route) x #

toRep (AssetsAPI route) x → AssetsAPI route #

Generic (BlocksAPI route) 
Instance details

Defined in Maestro.API.V1.Blocks

Associated Types

type Rep (BlocksAPI route) ∷ TypeType #

Methods

fromBlocksAPI route → Rep (BlocksAPI route) x #

toRep (BlocksAPI route) x → BlocksAPI route #

Generic (DatumAPI route) 
Instance details

Defined in Maestro.API.V1.Datum

Associated Types

type Rep (DatumAPI route) ∷ TypeType #

Methods

fromDatumAPI route → Rep (DatumAPI route) x #

toRep (DatumAPI route) x → DatumAPI route #

Generic (DefiMarketsAPI route) 
Instance details

Defined in Maestro.API.V1.DefiMarkets

Associated Types

type Rep (DefiMarketsAPI route) ∷ TypeType #

Methods

fromDefiMarketsAPI route → Rep (DefiMarketsAPI route) x #

toRep (DefiMarketsAPI route) x → DefiMarketsAPI route #

Generic (GeneralAPI route) 
Instance details

Defined in Maestro.API.V1.General

Associated Types

type Rep (GeneralAPI route) ∷ TypeType #

Methods

fromGeneralAPI route → Rep (GeneralAPI route) x #

toRep (GeneralAPI route) x → GeneralAPI route #

Generic (PoolsAPI route) 
Instance details

Defined in Maestro.API.V1.Pools

Associated Types

type Rep (PoolsAPI route) ∷ TypeType #

Methods

fromPoolsAPI route → Rep (PoolsAPI route) x #

toRep (PoolsAPI route) x → PoolsAPI route #

Generic (TransactionsAPI route) 
Instance details

Defined in Maestro.API.V1.Transactions

Associated Types

type Rep (TransactionsAPI route) ∷ TypeType #

Methods

fromTransactionsAPI route → Rep (TransactionsAPI route) x #

toRep (TransactionsAPI route) x → TransactionsAPI route #

Generic (TxManagerAPI route) 
Instance details

Defined in Maestro.API.V1.TxManager

Associated Types

type Rep (TxManagerAPI route) ∷ TypeType #

Methods

fromTxManagerAPI route → Rep (TxManagerAPI route) x #

toRep (TxManagerAPI route) x → TxManagerAPI route #

Generic (Bech32StringOf a) 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep (Bech32StringOf a) ∷ TypeType #

Methods

fromBech32StringOf a → Rep (Bech32StringOf a) x #

toRep (Bech32StringOf a) x → Bech32StringOf a #

Generic (HashStringOf a) 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep (HashStringOf a) ∷ TypeType #

Methods

fromHashStringOf a → Rep (HashStringOf a) x #

toRep (HashStringOf a) x → HashStringOf a #

Generic (HexStringOf a) 
Instance details

Defined in Maestro.Types.Common

Associated Types

type Rep (HexStringOf a) ∷ TypeType #

Methods

fromHexStringOf a → Rep (HexStringOf a) x #

toRep (HexStringOf a) x → HexStringOf a #

Generic (TaggedText description) 
Instance details

Defined in Maestro.Types.V1.Common

Associated Types

type Rep (TaggedText description) ∷ TypeType #

Methods

fromTaggedText description → Rep (TaggedText description) x #

toRep (TaggedText description) x → TaggedText description #

Generic (MemoryStepsWith i) 
Instance details

Defined in Maestro.Types.V1.General

Associated Types

type Rep (MemoryStepsWith i) ∷ TypeType #

Generic (Root a) 
Instance details

Defined in Numeric.RootFinding

Associated Types

type Rep (Root a) ∷ TypeType #

Methods

fromRoot a → Rep (Root a) x #

toRep (Root a) x → Root a #

Generic (ErrorFancy e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ErrorFancy e) ∷ TypeType #

Methods

fromErrorFancy e → Rep (ErrorFancy e) x #

toRep (ErrorFancy e) x → ErrorFancy e #

Generic (ErrorItem t) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ErrorItem t) ∷ TypeType #

Methods

fromErrorItem t → Rep (ErrorItem t) x #

toRep (ErrorItem t) x → ErrorItem t #

Generic (PosState s) 
Instance details

Defined in Text.Megaparsec.State

Associated Types

type Rep (PosState s) ∷ TypeType #

Methods

fromPosState s → Rep (PosState s) x #

toRep (PosState s) x → PosState s #

Generic (OAuth2Flow p) 
Instance details

Defined in Data.OpenApi.Internal

Associated Types

type Rep (OAuth2Flow p) ∷ TypeType #

Methods

fromOAuth2Flow p → Rep (OAuth2Flow p) x #

toRep (OAuth2Flow p) x → OAuth2Flow p #

Generic (Header ByronBlock) 
Instance details

Defined in Ouroboros.Consensus.Byron.Ledger.Block

Associated Types

type Rep (Header ByronBlock) ∷ TypeType #

Generic (Header (ShelleyBlock proto era)) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Block

Associated Types

type Rep (Header (ShelleyBlock proto era)) ∷ TypeType #

Methods

fromHeader (ShelleyBlock proto era) → Rep (Header (ShelleyBlock proto era)) x #

toRep (Header (ShelleyBlock proto era)) x → Header (ShelleyBlock proto era) #

Generic (RealPoint blk) 
Instance details

Defined in Ouroboros.Consensus.Block.RealPoint

Associated Types

type Rep (RealPoint blk) ∷ TypeType #

Methods

fromRealPoint blk → Rep (RealPoint blk) x #

toRep (RealPoint blk) x → RealPoint blk #

Generic (TopLevelConfig blk) 
Instance details

Defined in Ouroboros.Consensus.Config

Associated Types

type Rep (TopLevelConfig blk) ∷ TypeType #

Methods

fromTopLevelConfig blk → Rep (TopLevelConfig blk) x #

toRep (TopLevelConfig blk) x → TopLevelConfig blk #

Generic (HardForkLedgerConfig xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

Associated Types

type Rep (HardForkLedgerConfig xs) ∷ TypeType #

Generic (SingleEraInfo blk) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Info

Associated Types

type Rep (SingleEraInfo blk) ∷ TypeType #

Methods

fromSingleEraInfo blk → Rep (SingleEraInfo blk) x #

toRep (SingleEraInfo blk) x → SingleEraInfo blk #

Generic (HardForkEnvelopeErr xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

Associated Types

type Rep (HardForkEnvelopeErr xs) ∷ TypeType #

Generic (HardForkLedgerError xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Ledger

Associated Types

type Rep (HardForkLedgerError xs) ∷ TypeType #

Generic (HardForkApplyTxErr xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Mempool

Associated Types

type Rep (HardForkApplyTxErr xs) ∷ TypeType #

Generic (HardForkValidationErr xs) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol

Associated Types

type Rep (HardForkValidationErr xs) ∷ TypeType #

Generic (HeaderStateHistory blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderStateHistory

Associated Types

type Rep (HeaderStateHistory blk) ∷ TypeType #

Generic (AnnTip blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (AnnTip blk) ∷ TypeType #

Methods

fromAnnTip blk → Rep (AnnTip blk) x #

toRep (AnnTip blk) x → AnnTip blk #

Generic (HeaderEnvelopeError blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (HeaderEnvelopeError blk) ∷ TypeType #

Generic (HeaderError blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (HeaderError blk) ∷ TypeType #

Methods

fromHeaderError blk → Rep (HeaderError blk) x #

toRep (HeaderError blk) x → HeaderError blk #

Generic (HeaderState blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (HeaderState blk) ∷ TypeType #

Methods

fromHeaderState blk → Rep (HeaderState blk) x #

toRep (HeaderState blk) x → HeaderState blk #

Generic (TipInfoIsEBB blk) 
Instance details

Defined in Ouroboros.Consensus.HeaderValidation

Associated Types

type Rep (TipInfoIsEBB blk) ∷ TypeType #

Methods

fromTipInfoIsEBB blk → Rep (TipInfoIsEBB blk) x #

toRep (TipInfoIsEBB blk) x → TipInfoIsEBB blk #

Generic (ExtLedgerCfg blk) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Extended

Associated Types

type Rep (ExtLedgerCfg blk) ∷ TypeType #

Methods

fromExtLedgerCfg blk → Rep (ExtLedgerCfg blk) x #

toRep (ExtLedgerCfg blk) x → ExtLedgerCfg blk #

Generic (ExtLedgerState blk) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Extended

Associated Types

type Rep (ExtLedgerState blk) ∷ TypeType #

Methods

fromExtLedgerState blk → Rep (ExtLedgerState blk) x #

toRep (ExtLedgerState blk) x → ExtLedgerState blk #

Generic (ExtValidationError blk) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Extended

Associated Types

type Rep (ExtValidationError blk) ∷ TypeType #

Generic (InternalState blk) 
Instance details

Defined in Ouroboros.Consensus.Mempool.Impl.Common

Associated Types

type Rep (InternalState blk) ∷ TypeType #

Methods

fromInternalState blk → Rep (InternalState blk) x #

toRep (InternalState blk) x → InternalState blk #

Generic (TxTicket tx) 
Instance details

Defined in Ouroboros.Consensus.Mempool.TxSeq

Associated Types

type Rep (TxTicket tx) ∷ TypeType #

Methods

fromTxTicket tx → Rep (TxTicket tx) x #

toRep (TxTicket tx) x → TxTicket tx #

Generic (KnownIntersectionState blk) 
Instance details

Defined in Ouroboros.Consensus.MiniProtocol.ChainSync.Client

Associated Types

type Rep (KnownIntersectionState blk) ∷ TypeType #

Methods

from ∷ KnownIntersectionState blk → Rep (KnownIntersectionState blk) x #

toRep (KnownIntersectionState blk) x → KnownIntersectionState blk #

Generic (UnknownIntersectionState blk) 
Instance details

Defined in Ouroboros.Consensus.MiniProtocol.ChainSync.Client

Associated Types

type Rep (UnknownIntersectionState blk) ∷ TypeType #

Methods

from ∷ UnknownIntersectionState blk → Rep (UnknownIntersectionState blk) x #

toRep (UnknownIntersectionState blk) x → UnknownIntersectionState blk #

Generic (ConsensusConfig (HardForkProtocol xs)) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Basics

Associated Types

type Rep (ConsensusConfig (HardForkProtocol xs)) ∷ TypeType #

Generic (ConsensusConfig (Bft c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Associated Types

type Rep (ConsensusConfig (Bft c)) ∷ TypeType #

Methods

fromConsensusConfig (Bft c) → Rep (ConsensusConfig (Bft c)) x #

toRep (ConsensusConfig (Bft c)) x → ConsensusConfig (Bft c) #

Generic (ConsensusConfig (PBft c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (ConsensusConfig (PBft c)) ∷ TypeType #

Generic (ConsensusConfig (Praos c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (ConsensusConfig (Praos c)) ∷ TypeType #

Generic (ConsensusConfig (TPraos c)) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (ConsensusConfig (TPraos c)) ∷ TypeType #

Generic (PBftCanBeLeader c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftCanBeLeader c) ∷ TypeType #

Generic (PBftCannotForge c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftCannotForge c) ∷ TypeType #

Generic (PBftIsLeader c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftIsLeader c) ∷ TypeType #

Methods

fromPBftIsLeader c → Rep (PBftIsLeader c) x #

toRep (PBftIsLeader c) x → PBftIsLeader c #

Generic (PBftLedgerView c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftLedgerView c) ∷ TypeType #

Methods

fromPBftLedgerView c → Rep (PBftLedgerView c) x #

toRep (PBftLedgerView c) x → PBftLedgerView c #

Generic (PBftValidationErr c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftValidationErr c) ∷ TypeType #

Generic (PBftSigner c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT.State

Associated Types

type Rep (PBftSigner c) ∷ TypeType #

Methods

fromPBftSigner c → Rep (PBftSigner c) x #

toRep (PBftSigner c) x → PBftSigner c #

Generic (PBftState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT.State

Associated Types

type Rep (PBftState c) ∷ TypeType #

Methods

fromPBftState c → Rep (PBftState c) x #

toRep (PBftState c) x → PBftState c #

Generic (InvalidBlockReason blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.API

Associated Types

type Rep (InvalidBlockReason blk) ∷ TypeType #

Generic (InImmutableDBEnd blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Iterator

Associated Types

type Rep (InImmutableDBEnd blk) ∷ TypeType #

Methods

from ∷ InImmutableDBEnd blk → Rep (InImmutableDBEnd blk) x #

toRep (InImmutableDBEnd blk) x → InImmutableDBEnd blk #

Generic (FollowerRollState blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (FollowerRollState blk) ∷ TypeType #

Methods

fromFollowerRollState blk → Rep (FollowerRollState blk) x #

toRep (FollowerRollState blk) x → FollowerRollState blk #

Generic (InvalidBlockInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (InvalidBlockInfo blk) ∷ TypeType #

Methods

fromInvalidBlockInfo blk → Rep (InvalidBlockInfo blk) x #

toRep (InvalidBlockInfo blk) x → InvalidBlockInfo blk #

Generic (SelectionChangedInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (SelectionChangedInfo blk) ∷ TypeType #

Generic (TraceAddBlockEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceAddBlockEvent blk) ∷ TypeType #

Generic (TraceCopyToImmutableDBEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceCopyToImmutableDBEvent blk) ∷ TypeType #

Generic (TraceEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceEvent blk) ∷ TypeType #

Methods

fromTraceEvent blk → Rep (TraceEvent blk) x #

toRep (TraceEvent blk) x → TraceEvent blk #

Generic (TraceFollowerEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceFollowerEvent blk) ∷ TypeType #

Generic (TraceGCEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceGCEvent blk) ∷ TypeType #

Methods

fromTraceGCEvent blk → Rep (TraceGCEvent blk) x #

toRep (TraceGCEvent blk) x → TraceGCEvent blk #

Generic (TraceInitChainSelEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceInitChainSelEvent blk) ∷ TypeType #

Generic (TraceIteratorEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceIteratorEvent blk) ∷ TypeType #

Generic (TraceOpenEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceOpenEvent blk) ∷ TypeType #

Methods

fromTraceOpenEvent blk → Rep (TraceOpenEvent blk) x #

toRep (TraceOpenEvent blk) x → TraceOpenEvent blk #

Generic (TraceValidationEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (TraceValidationEvent blk) ∷ TypeType #

Generic (StreamFrom blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.Common

Associated Types

type Rep (StreamFrom blk) ∷ TypeType #

Methods

fromStreamFrom blk → Rep (StreamFrom blk) x #

toRep (StreamFrom blk) x → StreamFrom blk #

Generic (StreamTo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.Common

Associated Types

type Rep (StreamTo blk) ∷ TypeType #

Methods

fromStreamTo blk → Rep (StreamTo blk) x #

toRep (StreamTo blk) x → StreamTo blk #

Generic (ImmutableDBError blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.API

Associated Types

type Rep (ImmutableDBError blk) ∷ TypeType #

Methods

fromImmutableDBError blk → Rep (ImmutableDBError blk) x #

toRep (ImmutableDBError blk) x → ImmutableDBError blk #

Generic (IteratorResult b) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.API

Associated Types

type Rep (IteratorResult b) ∷ TypeType #

Methods

fromIteratorResult b → Rep (IteratorResult b) x #

toRep (IteratorResult b) x → IteratorResult b #

Generic (MissingBlock blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.API

Associated Types

type Rep (MissingBlock blk) ∷ TypeType #

Methods

fromMissingBlock blk → Rep (MissingBlock blk) x #

toRep (MissingBlock blk) x → MissingBlock blk #

Generic (Tip blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.API

Associated Types

type Rep (Tip blk) ∷ TypeType #

Methods

fromTip blk → Rep (Tip blk) x #

toRep (Tip blk) x → Tip blk #

Generic (Cached blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Cache

Associated Types

type Rep (Cached blk) ∷ TypeType #

Methods

from ∷ Cached blk → Rep (Cached blk) x #

toRep (Cached blk) x → Cached blk #

Generic (CurrentChunkInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Cache

Associated Types

type Rep (CurrentChunkInfo blk) ∷ TypeType #

Methods

from ∷ CurrentChunkInfo blk → Rep (CurrentChunkInfo blk) x #

toRep (CurrentChunkInfo blk) x → CurrentChunkInfo blk #

Generic (PastChunkInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Cache

Associated Types

type Rep (PastChunkInfo blk) ∷ TypeType #

Methods

from ∷ PastChunkInfo blk → Rep (PastChunkInfo blk) x #

toRep (PastChunkInfo blk) x → PastChunkInfo blk #

Generic (Entry blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Index.Secondary

Associated Types

type Rep (Entry blk) ∷ TypeType #

Methods

fromEntry blk → Rep (Entry blk) x #

toRep (Entry blk) x → Entry blk #

Generic (TraceEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep (TraceEvent blk) ∷ TypeType #

Methods

fromTraceEvent blk → Rep (TraceEvent blk) x #

toRep (TraceEvent blk) x → TraceEvent blk #

Generic (WithBlockSize a) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep (WithBlockSize a) ∷ TypeType #

Methods

fromWithBlockSize a → Rep (WithBlockSize a) x #

toRep (WithBlockSize a) x → WithBlockSize a #

Generic (InitLog blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Init

Associated Types

type Rep (InitLog blk) ∷ TypeType #

Methods

fromInitLog blk → Rep (InitLog blk) x #

toRep (InitLog blk) x → InitLog blk #

Generic (TraceReplayEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Init

Associated Types

type Rep (TraceReplayEvent blk) ∷ TypeType #

Methods

fromTraceReplayEvent blk → Rep (TraceReplayEvent blk) x #

toRep (TraceReplayEvent blk) x → TraceReplayEvent blk #

Generic (Checkpoint l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.LedgerDB

Associated Types

type Rep (Checkpoint l) ∷ TypeType #

Methods

fromCheckpoint l → Rep (Checkpoint l) x #

toRep (Checkpoint l) x → Checkpoint l #

Generic (LedgerDB l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.LedgerDB

Associated Types

type Rep (LedgerDB l) ∷ TypeType #

Methods

fromLedgerDB l → Rep (LedgerDB l) x #

toRep (LedgerDB l) x → LedgerDB l #

Generic (LedgerDbCfg l) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.LedgerDB

Associated Types

type Rep (LedgerDbCfg l) ∷ TypeType #

Methods

fromLedgerDbCfg l → Rep (LedgerDbCfg l) x #

toRep (LedgerDbCfg l) x → LedgerDbCfg l #

Generic (SnapshotFailure blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

Associated Types

type Rep (SnapshotFailure blk) ∷ TypeType #

Methods

fromSnapshotFailure blk → Rep (SnapshotFailure blk) x #

toRep (SnapshotFailure blk) x → SnapshotFailure blk #

Generic (TraceSnapshotEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Snapshots

Associated Types

type Rep (TraceSnapshotEvent blk) ∷ TypeType #

Generic (UpdateLedgerDbTraceEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.LedgerDB.Update

Associated Types

type Rep (UpdateLedgerDbTraceEvent blk) ∷ TypeType #

Generic (BlockInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.API

Associated Types

type Rep (BlockInfo blk) ∷ TypeType #

Methods

fromBlockInfo blk → Rep (BlockInfo blk) x #

toRep (BlockInfo blk) x → BlockInfo blk #

Generic (FileInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.FileInfo

Associated Types

type Rep (FileInfo blk) ∷ TypeType #

Methods

fromFileInfo blk → Rep (FileInfo blk) x #

toRep (FileInfo blk) x → FileInfo blk #

Generic (Index blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Index

Associated Types

type Rep (Index blk) ∷ TypeType #

Methods

fromIndex blk → Rep (Index blk) x #

toRep (Index blk) x → Index blk #

Generic (InternalBlockInfo blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Types

Associated Types

type Rep (InternalBlockInfo blk) ∷ TypeType #

Methods

fromInternalBlockInfo blk → Rep (InternalBlockInfo blk) x #

toRep (InternalBlockInfo blk) x → InternalBlockInfo blk #

Generic (TraceEvent blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.Types

Associated Types

type Rep (TraceEvent blk) ∷ TypeType #

Methods

fromTraceEvent blk → Rep (TraceEvent blk) x #

toRep (TraceEvent blk) x → TraceEvent blk #

Generic (Fuse m) 
Instance details

Defined in Ouroboros.Consensus.Util

Associated Types

type Rep (Fuse m) ∷ TypeType #

Methods

fromFuse m → Rep (Fuse m) x #

toRep (Fuse m) x → Fuse m #

Generic (RAWState st) 
Instance details

Defined in Ouroboros.Consensus.Util.MonadSTM.RAWLock

Associated Types

type Rep (RAWState st) ∷ TypeType #

Methods

from ∷ RAWState st → Rep (RAWState st) x #

toRep (RAWState st) x → RAWState st #

Generic (RegistryState m) 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Associated Types

type Rep (RegistryState m) ∷ TypeType #

Methods

from ∷ RegistryState m → Rep (RegistryState m) x #

toRep (RegistryState m) x → RegistryState m #

Generic (Resource m) 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Associated Types

type Rep (Resource m) ∷ TypeType #

Methods

from ∷ Resource m → Rep (Resource m) x #

toRep (Resource m) x → Resource m #

Generic (ResourceKey m) 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Associated Types

type Rep (ResourceKey m) ∷ TypeType #

Methods

fromResourceKey m → Rep (ResourceKey m) x #

toRep (ResourceKey m) x → ResourceKey m #

Generic (ResourceRegistry m) 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Associated Types

type Rep (ResourceRegistry m) ∷ TypeType #

Generic (WithFingerprint a) 
Instance details

Defined in Ouroboros.Consensus.Util.STM

Associated Types

type Rep (WithFingerprint a) ∷ TypeType #

Generic (TentativeState blk) 
Instance details

Defined in Ouroboros.Consensus.Util.TentativeState

Associated Types

type Rep (TentativeState blk) ∷ TypeType #

Methods

fromTentativeState blk → Rep (TentativeState blk) x #

toRep (TentativeState blk) x → TentativeState blk #

Generic (CompactGenesis c) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Config

Associated Types

type Rep (CompactGenesis c) ∷ TypeType #

Methods

fromCompactGenesis c → Rep (CompactGenesis c) x #

toRep (CompactGenesis c) x → CompactGenesis c #

Generic (ShelleyLedgerConfig era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Ledger

Associated Types

type Rep (ShelleyLedgerConfig era) ∷ TypeType #

Generic (ShelleyLedgerError era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Ledger

Associated Types

type Rep (ShelleyLedgerError era) ∷ TypeType #

Generic (WithTop a) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Mempool

Associated Types

type Rep (WithTop a) ∷ TypeType #

Methods

fromWithTop a → Rep (WithTop a) x #

toRep (WithTop a) x → WithTop a #

Generic (StakeSnapshot crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Associated Types

type Rep (StakeSnapshot crypto) ∷ TypeType #

Methods

fromStakeSnapshot crypto → Rep (StakeSnapshot crypto) x #

toRep (StakeSnapshot crypto) x → StakeSnapshot crypto #

Generic (StakeSnapshots crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Query

Associated Types

type Rep (StakeSnapshots crypto) ∷ TypeType #

Methods

fromStakeSnapshots crypto → Rep (StakeSnapshots crypto) x #

toRep (StakeSnapshots crypto) x → StakeSnapshots crypto #

Generic (ShelleyHash crypto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Protocol.Abstract

Associated Types

type Rep (ShelleyHash crypto) ∷ TypeType #

Methods

fromShelleyHash crypto → Rep (ShelleyHash crypto) x #

toRep (ShelleyHash crypto) x → ShelleyHash crypto #

Generic (ShelleyPartialLedgerConfig era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.ShelleyHFC

Associated Types

type Rep (ShelleyPartialLedgerConfig era) ∷ TypeType #

Generic (KESKey c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Ledger.HotKey

Associated Types

type Rep (KESKey c) ∷ TypeType #

Methods

from ∷ KESKey c → Rep (KESKey c) x #

toRep (KESKey c) x → KESKey c #

Generic (KESState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Ledger.HotKey

Associated Types

type Rep (KESState c) ∷ TypeType #

Methods

from ∷ KESState c → Rep (KESState c) x #

toRep (KESState c) x → KESState c #

Generic (PraosCannotForge c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosCannotForge c) ∷ TypeType #

Generic (PraosIsLeader c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosIsLeader c) ∷ TypeType #

Methods

fromPraosIsLeader c → Rep (PraosIsLeader c) x #

toRep (PraosIsLeader c) x → PraosIsLeader c #

Generic (PraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosState c) ∷ TypeType #

Methods

fromPraosState c → Rep (PraosState c) x #

toRep (PraosState c) x → PraosState c #

Generic (PraosToSign c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosToSign c) ∷ TypeType #

Methods

fromPraosToSign c → Rep (PraosToSign c) x #

toRep (PraosToSign c) x → PraosToSign c #

Generic (PraosValidationErr c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosValidationErr c) ∷ TypeType #

Generic (PraosCanBeLeader c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Common

Associated Types

type Rep (PraosCanBeLeader c) ∷ TypeType #

Generic (PraosChainSelectView c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Common

Associated Types

type Rep (PraosChainSelectView c) ∷ TypeType #

Generic (Header crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Associated Types

type Rep (Header crypto) ∷ TypeType #

Methods

fromHeader crypto → Rep (Header crypto) x #

toRep (Header crypto) x → Header crypto #

Generic (HeaderBody crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Associated Types

type Rep (HeaderBody crypto) ∷ TypeType #

Methods

fromHeaderBody crypto → Rep (HeaderBody crypto) x #

toRep (HeaderBody crypto) x → HeaderBody crypto #

Generic (HeaderRaw crypto) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos.Header

Associated Types

type Rep (HeaderRaw crypto) ∷ TypeType #

Methods

from ∷ HeaderRaw crypto → Rep (HeaderRaw crypto) x #

toRep (HeaderRaw crypto) x → HeaderRaw crypto #

Generic (TPraosCannotForge c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (TPraosCannotForge c) ∷ TypeType #

Generic (TPraosIsLeader c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (TPraosIsLeader c) ∷ TypeType #

Methods

fromTPraosIsLeader c → Rep (TPraosIsLeader c) x #

toRep (TPraosIsLeader c) x → TPraosIsLeader c #

Generic (TPraosState c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (TPraosState c) ∷ TypeType #

Methods

fromTPraosState c → Rep (TPraosState c) x #

toRep (TPraosState c) x → TPraosState c #

Generic (TPraosToSign c) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (TPraosToSign c) ∷ TypeType #

Methods

fromTPraosToSign c → Rep (TPraosToSign c) x #

toRep (TPraosToSign c) x → TPraosToSign c #

Generic (PeerMetricsState p) 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerMetric

Associated Types

type Rep (PeerMetricsState p) ∷ TypeType #

Methods

from ∷ PeerMetricsState p → Rep (PeerMetricsState p) x #

toRep (PeerMetricsState p) x → PeerMetricsState p #

Generic (Anchor block) 
Instance details

Defined in Ouroboros.Network.AnchoredFragment

Associated Types

type Rep (Anchor block) ∷ TypeType #

Methods

fromAnchor block → Rep (Anchor block) x #

toRep (Anchor block) x → Anchor block #

Generic (ConnectionId addr) 
Instance details

Defined in Ouroboros.Network.ConnectionId

Associated Types

type Rep (ConnectionId addr) ∷ TypeType #

Methods

fromConnectionId addr → Rep (ConnectionId addr) x #

toRep (ConnectionId addr) x → ConnectionId addr #

Generic (RefuseReason vNumber) 
Instance details

Defined in Ouroboros.Network.Protocol.Handshake.Type

Associated Types

type Rep (RefuseReason vNumber) ∷ TypeType #

Methods

fromRefuseReason vNumber → Rep (RefuseReason vNumber) x #

toRep (RefuseReason vNumber) x → RefuseReason vNumber #

Generic (TestAddress addr) 
Instance details

Defined in Ouroboros.Network.Snocket

Associated Types

type Rep (TestAddress addr) ∷ TypeType #

Methods

fromTestAddress addr → Rep (TestAddress addr) x #

toRep (TestAddress addr) x → TestAddress addr #

Generic (ChainRange point) 
Instance details

Defined in Ouroboros.Network.Protocol.BlockFetch.Type

Associated Types

type Rep (ChainRange point) ∷ TypeType #

Methods

fromChainRange point → Rep (ChainRange point) x #

toRep (ChainRange point) x → ChainRange point #

Generic (Target point) 
Instance details

Defined in Ouroboros.Network.Protocol.LocalStateQuery.Type

Associated Types

type Rep (Target point) ∷ TypeType #

Methods

fromTarget point → Rep (Target point) x #

toRep (Target point) x → Target point #

Generic (Kind ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Kind ann) ∷ TypeType #

Methods

fromKind ann → Rep (Kind ann) x #

toRep (Kind ann) x → Kind ann #

Generic (Normalized a) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Normalized a) ∷ TypeType #

Methods

fromNormalized a → Rep (Normalized a) x #

toRep (Normalized a) x → Normalized a #

Generic (LR a) 
Instance details

Defined in PlutusCore.Eq

Associated Types

type Rep (LR a) ∷ TypeType #

Methods

from ∷ LR a → Rep (LR a) x #

toRep (LR a) x → LR a #

Generic (RL a) 
Instance details

Defined in PlutusCore.Eq

Associated Types

type Rep (RL a) ∷ TypeType #

Methods

from ∷ RL a → Rep (RL a) x #

toRep (RL a) x → RL a #

Generic (ExpectedShapeOr a) 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (ExpectedShapeOr a) ∷ TypeType #

Generic (UniqueError ann) 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (UniqueError ann) ∷ TypeType #

Methods

fromUniqueError ann → Rep (UniqueError ann) x #

toRep (UniqueError ann) x → UniqueError ann #

Generic (BuiltinCostModelBase f) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Associated Types

type Rep (BuiltinCostModelBase f) ∷ TypeType #

Generic (CostingFun model) 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostingFun.Core

Associated Types

type Rep (CostingFun model) ∷ TypeType #

Methods

fromCostingFun model → Rep (CostingFun model) x #

toRep (CostingFun model) x → CostingFun model #

Generic (MachineError fun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.Exception

Associated Types

type Rep (MachineError fun) ∷ TypeType #

Methods

fromMachineError fun → Rep (MachineError fun) x #

toRep (MachineError fun) x → MachineError fun #

Generic (EvaluationResult a) 
Instance details

Defined in PlutusCore.Evaluation.Result

Associated Types

type Rep (EvaluationResult a) ∷ TypeType #

Generic (CekMachineCostsBase f) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

Associated Types

type Rep (CekMachineCostsBase f) ∷ TypeType #

Generic (CekExTally fun) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Associated Types

type Rep (CekExTally fun) ∷ TypeType #

Methods

fromCekExTally fun → Rep (CekExTally fun) x #

toRep (CekExTally fun) x → CekExTally fun #

Generic (TallyingSt fun) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.ExBudgetMode

Associated Types

type Rep (TallyingSt fun) ∷ TypeType #

Methods

fromTallyingSt fun → Rep (TallyingSt fun) x #

toRep (TallyingSt fun) x → TallyingSt fun #

Generic (ExBudgetCategory fun) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Associated Types

type Rep (ExBudgetCategory fun) ∷ TypeType #

Methods

fromExBudgetCategory fun → Rep (ExBudgetCategory fun) x #

toRep (ExBudgetCategory fun) x → ExBudgetCategory fun #

Generic (Provenance a) 
Instance details

Defined in PlutusIR.Compiler.Provenance

Associated Types

type Rep (Provenance a) ∷ TypeType #

Methods

from ∷ Provenance a → Rep (Provenance a) x #

toRep (Provenance a) x → Provenance a #

Generic (Extended a) 
Instance details

Defined in PlutusLedgerApi.V1.Interval

Associated Types

type Rep (Extended a) ∷ TypeType #

Methods

fromExtended a → Rep (Extended a) x #

toRep (Extended a) x → Extended a #

Generic (Interval a) 
Instance details

Defined in PlutusLedgerApi.V1.Interval

Associated Types

type Rep (Interval a) ∷ TypeType #

Methods

fromInterval a → Rep (Interval a) x #

toRep (Interval a) x → Interval a #

Generic (LowerBound a) 
Instance details

Defined in PlutusLedgerApi.V1.Interval

Associated Types

type Rep (LowerBound a) ∷ TypeType #

Methods

fromLowerBound a → Rep (LowerBound a) x #

toRep (LowerBound a) x → LowerBound a #

Generic (UpperBound a) 
Instance details

Defined in PlutusLedgerApi.V1.Interval

Associated Types

type Rep (UpperBound a) ∷ TypeType #

Methods

fromUpperBound a → Rep (UpperBound a) x #

toRep (UpperBound a) x → UpperBound a #

Generic (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Associated Types

type Rep (Doc a) ∷ TypeType #

Methods

fromDoc a → Rep (Doc a) x #

toRep (Doc a) x → Doc a #

Generic (Doc ann) 
Instance details

Defined in Prettyprinter.Internal

Associated Types

type Rep (Doc ann) ∷ TypeType #

Methods

fromDoc ann → Rep (Doc ann) x #

toRep (Doc ann) x → Doc ann #

Generic (SimpleDocStream ann) 
Instance details

Defined in Prettyprinter.Internal

Associated Types

type Rep (SimpleDocStream ann) ∷ TypeType #

Methods

fromSimpleDocStream ann → Rep (SimpleDocStream ann) x #

toRep (SimpleDocStream ann) x → SimpleDocStream ann #

Generic (Dense currency) 
Instance details

Defined in Money.Internal

Associated Types

type Rep (Dense currency) ∷ TypeType #

Methods

fromDense currency → Rep (Dense currency) x #

toRep (Dense currency) x → Dense currency #

Generic (ClientM a) 
Instance details

Defined in Servant.Client.Internal.HttpClient

Associated Types

type Rep (ClientM a) ∷ TypeType #

Methods

fromClientM a → Rep (ClientM a) x #

toRep (ClientM a) x → ClientM a #

Generic (ResponseF a) 
Instance details

Defined in Servant.Client.Core.Response

Associated Types

type Rep (ResponseF a) ∷ TypeType #

Methods

fromResponseF a → Rep (ResponseF a) x #

toRep (ResponseF a) x → ResponseF a #

Generic (I a) 
Instance details

Defined in Data.SOP.BasicFunctors

Associated Types

type Rep (I a) ∷ TypeType #

Methods

fromI a → Rep (I a) x #

toRep (I a) x → I a #

Generic (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

Associated Types

type Rep (LinearTransform d) ∷ TypeType #

Generic (Maybe a) 
Instance details

Defined in Data.Strict.Maybe

Associated Types

type Rep (Maybe a) ∷ TypeType #

Methods

fromMaybe a → Rep (Maybe a) x #

toRep (Maybe a) x → Maybe a #

Generic (ParamSchema t) 
Instance details

Defined in Data.Swagger.Internal

Associated Types

type Rep (ParamSchema t) ∷ TypeType #

Methods

fromParamSchema t → Rep (ParamSchema t) x #

toRep (ParamSchema t) x → ParamSchema t #

Generic (TyVarBndr flag) 
Instance details

Defined in Language.Haskell.TH.Syntax

Associated Types

type Rep (TyVarBndr flag) ∷ TypeType #

Methods

fromTyVarBndr flag → Rep (TyVarBndr flag) x #

toRep (TyVarBndr flag) x → TyVarBndr flag #

Generic (Window a) 
Instance details

Defined in System.Console.Terminal.Common

Associated Types

type Rep (Window a) ∷ TypeType #

Methods

fromWindow a → Rep (Window a) x #

toRep (Window a) x → Window a #

Generic (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Associated Types

type Rep (Doc a) ∷ TypeType #

Methods

fromDoc a → Rep (Doc a) x #

toRep (Doc a) x → Doc a #

Generic (SimpleDoc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Associated Types

type Rep (SimpleDoc a) ∷ TypeType #

Methods

fromSimpleDoc a → Rep (SimpleDoc a) x #

toRep (SimpleDoc a) x → SimpleDoc a #

Generic (Maybe a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Maybe a) ∷ TypeType #

Methods

fromMaybe a → Rep (Maybe a) x #

toRep (Maybe a) x → Maybe a #

Generic (a) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a) ∷ TypeType #

Methods

from ∷ (a) → Rep (a) x #

toRep (a) x → (a) #

Generic [a] 
Instance details

Defined in GHC.Generics

Associated Types

type Rep [a] ∷ TypeType #

Methods

from ∷ [a] → Rep [a] x #

toRep [a] x → [a] #

Generic (Graph e a) 
Instance details

Defined in Algebra.Graph.Labelled

Associated Types

type Rep (Graph e a) ∷ TypeType #

Methods

fromGraph e a → Rep (Graph e a) x #

toRep (Graph e a) x → Graph e a #

Generic (AdjacencyMap e a) 
Instance details

Defined in Algebra.Graph.Labelled.AdjacencyMap

Associated Types

type Rep (AdjacencyMap e a) ∷ TypeType #

Methods

fromAdjacencyMap e a → Rep (AdjacencyMap e a) x #

toRep (AdjacencyMap e a) x → AdjacencyMap e a #

Generic (Container b a) 
Instance details

Defined in Barbies.Internal.Containers

Associated Types

type Rep (Container b a) ∷ TypeType #

Methods

fromContainer b a → Rep (Container b a) x #

toRep (Container b a) x → Container b a #

Generic (ErrorContainer b e) 
Instance details

Defined in Barbies.Internal.Containers

Associated Types

type Rep (ErrorContainer b e) ∷ TypeType #

Methods

fromErrorContainer b e → Rep (ErrorContainer b e) x #

toRep (ErrorContainer b e) x → ErrorContainer b e #

Generic (Unit f) 
Instance details

Defined in Barbies.Internal.Trivial

Associated Types

type Rep (Unit f) ∷ TypeType #

Methods

fromUnit f → Rep (Unit f) x #

toRep (Unit f) x → Unit f #

Generic (Void f) 
Instance details

Defined in Barbies.Internal.Trivial

Associated Types

type Rep (Void f) ∷ TypeType #

Methods

fromVoid f → Rep (Void f) x #

toRep (Void f) x → Void f #

Generic (WrappedMonad m a) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedMonad m a) ∷ TypeType #

Methods

fromWrappedMonad m a → Rep (WrappedMonad m a) x #

toRep (WrappedMonad m a) x → WrappedMonad m a #

Generic (Either a b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Either a b) ∷ TypeType #

Methods

fromEither a b → Rep (Either a b) x #

toRep (Either a b) x → Either a b #

Generic (Proxy t) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Proxy t) ∷ TypeType #

Methods

fromProxy t → Rep (Proxy t) x #

toRep (Proxy t) x → Proxy t #

Generic (Arg a b) 
Instance details

Defined in Data.Semigroup

Associated Types

type Rep (Arg a b) ∷ TypeType #

Methods

fromArg a b → Rep (Arg a b) x #

toRep (Arg a b) x → Arg a b #

Generic (U1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (U1 p) ∷ TypeType #

Methods

fromU1 p → Rep (U1 p) x #

toRep (U1 p) x → U1 p #

Generic (V1 p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (V1 p) ∷ TypeType #

Methods

fromV1 p → Rep (V1 p) x #

toRep (V1 p) x → V1 p #

Generic (ListN n a) 
Instance details

Defined in Basement.Sized.List

Associated Types

type Rep (ListN n a) ∷ TypeType #

Methods

fromListN n a → Rep (ListN n a) x #

toRep (ListN n a) x → ListN n a #

Generic (Bimap a b) 
Instance details

Defined in Data.Bimap

Associated Types

type Rep (Bimap a b) ∷ TypeType #

Methods

fromBimap a b → Rep (Bimap a b) x #

toRep (Bimap a b) x → Bimap a b #

Generic (Index derivationType depth) 
Instance details

Defined in Cardano.Address.Derivation

Associated Types

type Rep (Index derivationType depth) ∷ TypeType #

Methods

fromIndex derivationType depth → Rep (Index derivationType depth) x #

toRep (Index derivationType depth) x → Index derivationType depth #

Generic (Byron depth key) 
Instance details

Defined in Cardano.Address.Style.Byron

Associated Types

type Rep (Byron depth key) ∷ TypeType #

Methods

fromByron depth key → Rep (Byron depth key) x #

toRep (Byron depth key) x → Byron depth key #

Generic (Icarus depth key) 
Instance details

Defined in Cardano.Address.Style.Icarus

Associated Types

type Rep (Icarus depth key) ∷ TypeType #

Methods

fromIcarus depth key → Rep (Icarus depth key) x #

toRep (Icarus depth key) x → Icarus depth key #

Generic (Shelley depth key) 
Instance details

Defined in Cardano.Address.Style.Shelley

Associated Types

type Rep (Shelley depth key) ∷ TypeType #

Methods

fromShelley depth key → Rep (Shelley depth key) x #

toRep (Shelley depth key) x → Shelley depth key #

Generic (MakeChangeCriteria minCoinFor bundleSizeAssessor) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (MakeChangeCriteria minCoinFor bundleSizeAssessor) ∷ TypeType #

Methods

fromMakeChangeCriteria minCoinFor bundleSizeAssessor → Rep (MakeChangeCriteria minCoinFor bundleSizeAssessor) x #

toRep (MakeChangeCriteria minCoinFor bundleSizeAssessor) x → MakeChangeCriteria minCoinFor bundleSizeAssessor #

Generic (SelectionParamsOf f ctx) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (SelectionParamsOf f ctx) ∷ TypeType #

Methods

fromSelectionParamsOf f ctx → Rep (SelectionParamsOf f ctx) x #

toRep (SelectionParamsOf f ctx) x → SelectionParamsOf f ctx #

Generic (SelectionResultOf f ctx) 
Instance details

Defined in Cardano.CoinSelection.Balance

Associated Types

type Rep (SelectionResultOf f ctx) ∷ TypeType #

Methods

fromSelectionResultOf f ctx → Rep (SelectionResultOf f ctx) x #

toRep (SelectionResultOf f ctx) x → SelectionResultOf f ctx #

Generic (SignedDSIGN v a) 
Instance details

Defined in Cardano.Crypto.DSIGN.Class

Associated Types

type Rep (SignedDSIGN v a) ∷ TypeType #

Methods

fromSignedDSIGN v a → Rep (SignedDSIGN v a) x #

toRep (SignedDSIGN v a) x → SignedDSIGN v a #

Generic (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Associated Types

type Rep (Hash h a) ∷ TypeType #

Methods

fromHash h a → Rep (Hash h a) x #

toRep (Hash h a) x → Hash h a #

Generic (SignedKES v a) 
Instance details

Defined in Cardano.Crypto.KES.Class

Associated Types

type Rep (SignedKES v a) ∷ TypeType #

Methods

fromSignedKES v a → Rep (SignedKES v a) x #

toRep (SignedKES v a) x → SignedKES v a #

Generic (CertifiedVRF v a) 
Instance details

Defined in Cardano.Crypto.VRF.Class

Associated Types

type Rep (CertifiedVRF v a) ∷ TypeType #

Methods

fromCertifiedVRF v a → Rep (CertifiedVRF v a) x #

toRep (CertifiedVRF v a) x → CertifiedVRF v a #

Generic (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Associated Types

type Rep (AbstractHash algo a) ∷ TypeType #

Methods

fromAbstractHash algo a → Rep (AbstractHash algo a) x #

toRep (AbstractHash algo a) x → AbstractHash algo a #

Generic (ListMap k v) 
Instance details

Defined in Data.ListMap

Associated Types

type Rep (ListMap k v) ∷ TypeType #

Methods

fromListMap k v → Rep (ListMap k v) x #

toRep (ListMap k v) x → ListMap k v #

Generic (OMap k v) 
Instance details

Defined in Data.OMap.Strict

Associated Types

type Rep (OMap k v) ∷ TypeType #

Methods

fromOMap k v → Rep (OMap k v) x #

toRep (OMap k v) x → OMap k v #

Generic (AllegraTxBodyRaw ma era) 
Instance details

Defined in Cardano.Ledger.Allegra.TxBody

Associated Types

type Rep (AllegraTxBodyRaw ma era) ∷ TypeType #

Methods

fromAllegraTxBodyRaw ma era → Rep (AllegraTxBodyRaw ma era) x #

toRep (AllegraTxBodyRaw ma era) x → AllegraTxBodyRaw ma era #

Generic (AlonzoPParams f era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Associated Types

type Rep (AlonzoPParams f era) ∷ TypeType #

Methods

fromAlonzoPParams f era → Rep (AlonzoPParams f era) x #

toRep (AlonzoPParams f era) x → AlonzoPParams f era #

Generic (AlonzoPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Associated Types

type Rep (AlonzoPlutusPurpose f era) ∷ TypeType #

Methods

fromAlonzoPlutusPurpose f era → Rep (AlonzoPlutusPurpose f era) x #

toRep (AlonzoPlutusPurpose f era) x → AlonzoPlutusPurpose f era #

Generic ix ⇒ Generic (AsIndex ix it) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Associated Types

type Rep (AsIndex ix it) ∷ TypeType #

Methods

fromAsIndex ix it → Rep (AsIndex ix it) x #

toRep (AsIndex ix it) x → AsIndex ix it #

Generic it ⇒ Generic (AsItem ix it) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Associated Types

type Rep (AsItem ix it) ∷ TypeType #

Methods

fromAsItem ix it → Rep (AsItem ix it) x #

toRep (AsItem ix it) x → AsItem ix it #

Generic (BabbagePParams f era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Associated Types

type Rep (BabbagePParams f era) ∷ TypeType #

Methods

fromBabbagePParams f era → Rep (BabbagePParams f era) x #

toRep (BabbagePParams f era) x → BabbagePParams f era #

Generic (Annotated b a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Associated Types

type Rep (Annotated b a) ∷ TypeType #

Methods

fromAnnotated b a → Rep (Annotated b a) x #

toRep (Annotated b a) x → Annotated b a #

Generic (GovPurposeId p era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Associated Types

type Rep (GovPurposeId p era) ∷ TypeType #

Methods

fromGovPurposeId p era → Rep (GovPurposeId p era) x #

toRep (GovPurposeId p era) x → GovPurposeId p era #

Generic (PForest f era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Associated Types

type Rep (PForest f era) ∷ TypeType #

Methods

fromPForest f era → Rep (PForest f era) x #

toRep (PForest f era) x → PForest f era #

Generic (ConwayPParams f era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Associated Types

type Rep (ConwayPParams f era) ∷ TypeType #

Methods

fromConwayPParams f era → Rep (ConwayPParams f era) x #

toRep (ConwayPParams f era) x → ConwayPParams f era #

Generic (ConwayPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Conway.Scripts

Associated Types

type Rep (ConwayPlutusPurpose f era) ∷ TypeType #

Methods

fromConwayPlutusPurpose f era → Rep (ConwayPlutusPurpose f era) x #

toRep (ConwayPlutusPurpose f era) x → ConwayPlutusPurpose f era #

Generic (BoundedRatio b a) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep (BoundedRatio b a) ∷ TypeType #

Methods

from ∷ BoundedRatio b a → Rep (BoundedRatio b a) x #

toRep (BoundedRatio b a) x → BoundedRatio b a #

Generic (Block h era) 
Instance details

Defined in Cardano.Ledger.Block

Associated Types

type Rep (Block h era) ∷ TypeType #

Methods

fromBlock h era → Rep (Block h era) x #

toRep (Block h era) x → Block h era #

Generic (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Associated Types

type Rep (Credential kr c) ∷ TypeType #

Methods

fromCredential kr c → Rep (Credential kr c) x #

toRep (Credential kr c) x → Credential kr c #

Generic (KeyHash discriminator c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Associated Types

type Rep (KeyHash discriminator c) ∷ TypeType #

Methods

fromKeyHash discriminator c → Rep (KeyHash discriminator c) x #

toRep (KeyHash discriminator c) x → KeyHash discriminator c #

Generic (VKey kd c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Associated Types

type Rep (VKey kd c) ∷ TypeType #

Methods

fromVKey kd c → Rep (VKey kd c) x #

toRep (VKey kd c) x → VKey kd c #

Generic (WitVKey kr c) 
Instance details

Defined in Cardano.Ledger.Keys.WitVKey

Associated Types

type Rep (WitVKey kr c) ∷ TypeType #

Methods

fromWitVKey kr c → Rep (WitVKey kr c) x #

toRep (WitVKey kr c) x → WitVKey kr c #

Generic (MemoBytes t era) 
Instance details

Defined in Cardano.Ledger.MemoBytes

Associated Types

type Rep (MemoBytes t era) ∷ TypeType #

Methods

fromMemoBytes t era → Rep (MemoBytes t era) x #

toRep (MemoBytes t era) x → MemoBytes t era #

Generic (KeyPair kd c) 
Instance details

Defined in Test.Cardano.Ledger.Core.KeyPair

Associated Types

type Rep (KeyPair kd c) ∷ TypeType #

Methods

from ∷ KeyPair kd c → Rep (KeyPair kd c) x #

toRep (KeyPair kd c) x → KeyPair kd c #

Generic (ShelleyPParams f era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Associated Types

type Rep (ShelleyPParams f era) ∷ TypeType #

Methods

fromShelleyPParams f era → Rep (ShelleyPParams f era) x #

toRep (ShelleyPParams f era) x → ShelleyPParams f era #

Era era ⇒ Generic (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type Rep (WitnessSetHKD Identity era) ∷ TypeType #

Generic (SearchResult v a) 
Instance details

Defined in Data.FingerTree.Strict

Associated Types

type Rep (SearchResult v a) ∷ TypeType #

Methods

fromSearchResult v a → Rep (SearchResult v a) x #

toRep (SearchResult v a) x → SearchResult v a #

Generic (FingerTree v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (FingerTree v a) ∷ TypeType #

Methods

fromFingerTree v a → Rep (FingerTree v a) x #

toRep (FingerTree v a) x → FingerTree v a #

Generic (Node v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (Node v a) ∷ TypeType #

Methods

from ∷ Node v a → Rep (Node v a) x #

toRep (Node v a) x → Node v a #

Generic (SearchResult v a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (SearchResult v a) ∷ TypeType #

Methods

fromSearchResult v a → Rep (SearchResult v a) x #

toRep (SearchResult v a) x → SearchResult v a #

Generic (ViewL s a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (ViewL s a) ∷ TypeType #

Methods

fromViewL s a → Rep (ViewL s a) x #

toRep (ViewL s a) x → ViewL s a #

Generic (ViewR s a) 
Instance details

Defined in Data.FingerTree

Associated Types

type Rep (ViewR s a) ∷ TypeType #

Methods

fromViewR s a → Rep (ViewR s a) x #

toRep (ViewR s a) x → ViewR s a #

Generic (Tuple2 a b) 
Instance details

Defined in Foundation.Tuple

Associated Types

type Rep (Tuple2 a b) ∷ TypeType #

Methods

fromTuple2 a b → Rep (Tuple2 a b) x #

toRep (Tuple2 a b) x → Tuple2 a b #

Generic (Cofree f a) 
Instance details

Defined in Control.Comonad.Cofree

Associated Types

type Rep (Cofree f a) ∷ TypeType #

Methods

fromCofree f a → Rep (Cofree f a) x #

toRep (Cofree f a) x → Cofree f a #

Generic (Free f a) 
Instance details

Defined in Control.Monad.Free

Associated Types

type Rep (Free f a) ∷ TypeType #

Methods

fromFree f a → Rep (Free f a) x #

toRep (Free f a) x → Free f a #

Generic (ListT m a) 
Instance details

Defined in ListT

Associated Types

type Rep (ListT m a) ∷ TypeType #

Methods

fromListT m a → Rep (ListT m a) x #

toRep (ListT m a) x → ListT m a #

Generic (ParseError s e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ParseError s e) ∷ TypeType #

Methods

fromParseError s e → Rep (ParseError s e) x #

toRep (ParseError s e) x → ParseError s e #

Generic (ParseErrorBundle s e) 
Instance details

Defined in Text.Megaparsec.Error

Associated Types

type Rep (ParseErrorBundle s e) ∷ TypeType #

Methods

fromParseErrorBundle s e → Rep (ParseErrorBundle s e) x #

toRep (ParseErrorBundle s e) x → ParseErrorBundle s e #

Generic (State s e) 
Instance details

Defined in Text.Megaparsec.State

Associated Types

type Rep (State s e) ∷ TypeType #

Methods

fromState s e → Rep (State s e) x #

toRep (State s e) x → State s e #

Generic (FirstToFinish m a) 
Instance details

Defined in Data.Monoid.Synchronisation

Associated Types

type Rep (FirstToFinish m a) ∷ TypeType #

Methods

fromFirstToFinish m a → Rep (FirstToFinish m a) x #

toRep (FirstToFinish m a) x → FirstToFinish m a #

Generic (LastToFinish m a) 
Instance details

Defined in Data.Monoid.Synchronisation

Associated Types

type Rep (LastToFinish m a) ∷ TypeType #

Methods

fromLastToFinish m a → Rep (LastToFinish m a) x #

toRep (LastToFinish m a) x → LastToFinish m a #

Generic (LastToFinishM m a) 
Instance details

Defined in Data.Monoid.Synchronisation

Associated Types

type Rep (LastToFinishM m a) ∷ TypeType #

Methods

fromLastToFinishM m a → Rep (LastToFinishM m a) x #

toRep (LastToFinishM m a) x → LastToFinishM m a #

Generic (WithMuxBearer peerid a) 
Instance details

Defined in Network.Mux.Trace

Associated Types

type Rep (WithMuxBearer peerid a) ∷ TypeType #

Methods

fromWithMuxBearer peerid a → Rep (WithMuxBearer peerid a) x #

toRep (WithMuxBearer peerid a) x → WithMuxBearer peerid a #

Generic (Current f blk) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.State.Types

Associated Types

type Rep (Current f blk) ∷ TypeType #

Methods

fromCurrent f blk → Rep (Current f blk) x #

toRep (Current f blk) x → Current f blk #

Generic (BftFields c toSign) 
Instance details

Defined in Ouroboros.Consensus.Protocol.BFT

Associated Types

type Rep (BftFields c toSign) ∷ TypeType #

Methods

fromBftFields c toSign → Rep (BftFields c toSign) x #

toRep (BftFields c toSign) x → BftFields c toSign #

Generic (PBftFields c toSign) 
Instance details

Defined in Ouroboros.Consensus.Protocol.PBFT

Associated Types

type Rep (PBftFields c toSign) ∷ TypeType #

Methods

fromPBftFields c toSign → Rep (PBftFields c toSign) x #

toRep (PBftFields c toSign) x → PBftFields c toSign #

Generic (LgrDB m blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.LgrDB

Associated Types

type Rep (LgrDB m blk) ∷ TypeType #

Methods

fromLgrDB m blk → Rep (LgrDB m blk) x #

toRep (LgrDB m blk) x → LgrDB m blk #

Generic (ChainDbEnv m blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (ChainDbEnv m blk) ∷ TypeType #

Methods

fromChainDbEnv m blk → Rep (ChainDbEnv m blk) x #

toRep (ChainDbEnv m blk) x → ChainDbEnv m blk #

Generic (ChainDbState m blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (ChainDbState m blk) ∷ TypeType #

Methods

fromChainDbState m blk → Rep (ChainDbState m blk) x #

toRep (ChainDbState m blk) x → ChainDbState m blk #

Generic (TraceChunkValidation blk validateTo) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Types

Associated Types

type Rep (TraceChunkValidation blk validateTo) ∷ TypeType #

Methods

fromTraceChunkValidation blk validateTo → Rep (TraceChunkValidation blk validateTo) x #

toRep (TraceChunkValidation blk validateTo) x → TraceChunkValidation blk validateTo #

Generic (InternalState blk h) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.State

Associated Types

type Rep (InternalState blk h) ∷ TypeType #

Methods

fromInternalState blk h → Rep (InternalState blk h) x #

toRep (InternalState blk h) x → InternalState blk h #

Generic (OpenState blk h) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.Impl.State

Associated Types

type Rep (OpenState blk h) ∷ TypeType #

Methods

fromOpenState blk h → Rep (OpenState blk h) x #

toRep (OpenState blk h) x → OpenState blk h #

Generic (ShelleyTip proto era) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Ledger

Associated Types

type Rep (ShelleyTip proto era) ∷ TypeType #

Methods

fromShelleyTip proto era → Rep (ShelleyTip proto era) x #

toRep (ShelleyTip proto era) x → ShelleyTip proto era #

Generic (PraosFields c toSign) 
Instance details

Defined in Ouroboros.Consensus.Protocol.Praos

Associated Types

type Rep (PraosFields c toSign) ∷ TypeType #

Methods

fromPraosFields c toSign → Rep (PraosFields c toSign) x #

toRep (PraosFields c toSign) x → PraosFields c toSign #

Generic (TPraosFields c toSign) 
Instance details

Defined in Ouroboros.Consensus.Protocol.TPraos

Associated Types

type Rep (TPraosFields c toSign) ∷ TypeType #

Methods

fromTPraosFields c toSign → Rep (TPraosFields c toSign) x #

toRep (TPraosFields c toSign) x → TPraosFields c toSign #

Generic (ServerState txid tx) 
Instance details

Defined in Ouroboros.Network.TxSubmission.Inbound

Associated Types

type Rep (ServerState txid tx) ∷ TypeType #

Methods

from ∷ ServerState txid tx → Rep (ServerState txid tx) x #

toRep (ServerState txid tx) x → ServerState txid tx #

Generic (ChainHash b) 
Instance details

Defined in Ouroboros.Network.Block

Associated Types

type Rep (ChainHash b) ∷ TypeType #

Methods

fromChainHash b → Rep (ChainHash b) x #

toRep (ChainHash b) x → ChainHash b #

Generic (HeaderFields b) 
Instance details

Defined in Ouroboros.Network.Block

Associated Types

type Rep (HeaderFields b) ∷ TypeType #

Methods

fromHeaderFields b → Rep (HeaderFields b) x #

toRep (HeaderFields b) x → HeaderFields b #

Generic (Point block) 
Instance details

Defined in Ouroboros.Network.Block

Associated Types

type Rep (Point block) ∷ TypeType #

Methods

fromPoint block → Rep (Point block) x #

toRep (Point block) x → Point block #

Generic (Tip b) 
Instance details

Defined in Ouroboros.Network.Block

Associated Types

type Rep (Tip b) ∷ TypeType #

Methods

fromTip b → Rep (Tip b) x #

toRep (Tip b) x → Tip b #

Generic (Block slot hash) 
Instance details

Defined in Ouroboros.Network.Point

Associated Types

type Rep (Block slot hash) ∷ TypeType #

Methods

fromBlock slot hash → Rep (Block slot hash) x #

toRep (Block slot hash) x → Block slot hash #

Generic (TyVarDecl tyname ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (TyVarDecl tyname ann) ∷ TypeType #

Methods

fromTyVarDecl tyname ann → Rep (TyVarDecl tyname ann) x #

toRep (TyVarDecl tyname ann) x → TyVarDecl tyname ann #

Generic (ErrorWithCause err cause) 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

Associated Types

type Rep (ErrorWithCause err cause) ∷ TypeType #

Methods

fromErrorWithCause err cause → Rep (ErrorWithCause err cause) x #

toRep (ErrorWithCause err cause) x → ErrorWithCause err cause #

Generic (EvaluationError user internal) 
Instance details

Defined in PlutusCore.Evaluation.Machine.Exception

Associated Types

type Rep (EvaluationError user internal) ∷ TypeType #

Methods

fromEvaluationError user internal → Rep (EvaluationError user internal) x #

toRep (EvaluationError user internal) x → EvaluationError user internal #

Generic (Def var val) 
Instance details

Defined in PlutusCore.MkPlc

Associated Types

type Rep (Def var val) ∷ TypeType #

Methods

fromDef var val → Rep (Def var val) x #

toRep (Def var val) x → Def var val #

Generic (UVarDecl name ann) 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (UVarDecl name ann) ∷ TypeType #

Methods

fromUVarDecl name ann → Rep (UVarDecl name ann) x #

toRep (UVarDecl name ann) x → UVarDecl name ann #

Generic (TypeErrorExt uni ann) 
Instance details

Defined in PlutusIR.Error

Associated Types

type Rep (TypeErrorExt uni ann) ∷ TypeType #

Methods

from ∷ TypeErrorExt uni ann → Rep (TypeErrorExt uni ann) x #

toRep (TypeErrorExt uni ann) x → TypeErrorExt uni ann #

Generic (Map k v) 
Instance details

Defined in PlutusTx.AssocMap

Associated Types

type Rep (Map k v) ∷ TypeType #

Methods

fromMap k v → Rep (Map k v) x #

toRep (Map k v) x → Map k v #

Generic (ListF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (ListF a b) ∷ TypeType #

Methods

fromListF a b → Rep (ListF a b) x #

toRep (ListF a b) x → ListF a b #

Generic (NonEmptyF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (NonEmptyF a b) ∷ TypeType #

Methods

fromNonEmptyF a b → Rep (NonEmptyF a b) x #

toRep (NonEmptyF a b) x → NonEmptyF a b #

Generic (TreeF a b) 
Instance details

Defined in Data.Functor.Base

Associated Types

type Rep (TreeF a b) ∷ TypeType #

Methods

fromTreeF a b → Rep (TreeF a b) x #

toRep (TreeF a b) x → TreeF a b #

GoodScale scale ⇒ Generic (Discrete' currency scale) 
Instance details

Defined in Money.Internal

Associated Types

type Rep (Discrete' currency scale) ∷ TypeType #

Methods

fromDiscrete' currency scale → Rep (Discrete' currency scale) x #

toRep (Discrete' currency scale) x → Discrete' currency scale #

Generic (ExchangeRate src dst) 
Instance details

Defined in Money.Internal

Associated Types

type Rep (ExchangeRate src dst) ∷ TypeType #

Methods

fromExchangeRate src dst → Rep (ExchangeRate src dst) x #

toRep (ExchangeRate src dst) x → ExchangeRate src dst #

Generic (NoContentVerb method) 
Instance details

Defined in Servant.API.Verbs

Associated Types

type Rep (NoContentVerb method) ∷ TypeType #

Methods

fromNoContentVerb method → Rep (NoContentVerb method) x #

toRep (NoContentVerb method) x → NoContentVerb method #

Generic (RequestF body path) 
Instance details

Defined in Servant.Client.Core.Request

Associated Types

type Rep (RequestF body path) ∷ TypeType #

Methods

fromRequestF body path → Rep (RequestF body path) x #

toRep (RequestF body path) x → RequestF body path #

Generic (Of a b) 
Instance details

Defined in Data.Functor.Of

Associated Types

type Rep (Of a b) ∷ TypeType #

Methods

fromOf a b → Rep (Of a b) x #

toRep (Of a b) x → Of a b #

Generic (Either a b) 
Instance details

Defined in Data.Strict.Either

Associated Types

type Rep (Either a b) ∷ TypeType #

Methods

fromEither a b → Rep (Either a b) x #

toRep (Either a b) x → Either a b #

Generic (These a b) 
Instance details

Defined in Data.Strict.These

Associated Types

type Rep (These a b) ∷ TypeType #

Methods

fromThese a b → Rep (These a b) x #

toRep (These a b) x → These a b #

Generic (Pair a b) 
Instance details

Defined in Data.Strict.Tuple

Associated Types

type Rep (Pair a b) ∷ TypeType #

Methods

fromPair a b → Rep (Pair a b) x #

toRep (Pair a b) x → Pair a b #

Generic (These a b) 
Instance details

Defined in Data.These

Associated Types

type Rep (These a b) ∷ TypeType #

Methods

fromThese a b → Rep (These a b) x #

toRep (These a b) x → These a b #

Generic (Lift f a) 
Instance details

Defined in Control.Applicative.Lift

Associated Types

type Rep (Lift f a) ∷ TypeType #

Methods

fromLift f a → Rep (Lift f a) x #

toRep (Lift f a) x → Lift f a #

Generic (MaybeT m a) 
Instance details

Defined in Control.Monad.Trans.Maybe

Associated Types

type Rep (MaybeT m a) ∷ TypeType #

Methods

fromMaybeT m a → Rep (MaybeT m a) x #

toRep (MaybeT m a) x → MaybeT m a #

Generic (Validation e a) 
Instance details

Defined in Validation

Associated Types

type Rep (Validation e a) ∷ TypeType #

Methods

fromValidation e a → Rep (Validation e a) x #

toRep (Validation e a) x → Validation e a #

Generic (a, b) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b) ∷ TypeType #

Methods

from ∷ (a, b) → Rep (a, b) x #

toRep (a, b) x → (a, b) #

Generic (WrappedArrow a b c) 
Instance details

Defined in Control.Applicative

Associated Types

type Rep (WrappedArrow a b c) ∷ TypeType #

Methods

fromWrappedArrow a b c → Rep (WrappedArrow a b c) x #

toRep (WrappedArrow a b c) x → WrappedArrow a b c #

Generic (Kleisli m a b) 
Instance details

Defined in Control.Arrow

Associated Types

type Rep (Kleisli m a b) ∷ TypeType #

Methods

fromKleisli m a b → Rep (Kleisli m a b) x #

toRep (Kleisli m a b) x → Kleisli m a b #

Generic (Const a b) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep (Const a b) ∷ TypeType #

Methods

fromConst a b → Rep (Const a b) x #

toRep (Const a b) x → Const a b #

Generic (Ap f a) 
Instance details

Defined in Data.Monoid

Associated Types

type Rep (Ap f a) ∷ TypeType #

Methods

fromAp f a → Rep (Ap f a) x #

toRep (Ap f a) x → Ap f a #

Generic (Alt f a) 
Instance details

Defined in Data.Semigroup.Internal

Associated Types

type Rep (Alt f a) ∷ TypeType #

Methods

fromAlt f a → Rep (Alt f a) x #

toRep (Alt f a) x → Alt f a #

Generic (Rec1 f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Rec1 f p) ∷ TypeType #

Methods

fromRec1 f p → Rep (Rec1 f p) x #

toRep (Rec1 f p) x → Rec1 f p #

Generic (URec (Ptr ()) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec (Ptr ()) p) ∷ TypeType #

Methods

fromURec (Ptr ()) p → Rep (URec (Ptr ()) p) x #

toRep (URec (Ptr ()) p) x → URec (Ptr ()) p #

Generic (URec Char p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Char p) ∷ TypeType #

Methods

fromURec Char p → Rep (URec Char p) x #

toRep (URec Char p) x → URec Char p #

Generic (URec Double p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Double p) ∷ TypeType #

Methods

fromURec Double p → Rep (URec Double p) x #

toRep (URec Double p) x → URec Double p #

Generic (URec Float p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Float p) ∷ TypeType #

Methods

fromURec Float p → Rep (URec Float p) x #

toRep (URec Float p) x → URec Float p #

Generic (URec Int p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Int p) ∷ TypeType #

Methods

fromURec Int p → Rep (URec Int p) x #

toRep (URec Int p) x → URec Int p #

Generic (URec Word p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (URec Word p) ∷ TypeType #

Methods

fromURec Word p → Rep (URec Word p) x #

toRep (URec Word p) x → URec Word p #

Generic (Fix p a) 
Instance details

Defined in Data.Bifunctor.Fix

Associated Types

type Rep (Fix p a) ∷ TypeType #

Methods

fromFix p a → Rep (Fix p a) x #

toRep (Fix p a) x → Fix p a #

Generic (Join p a) 
Instance details

Defined in Data.Bifunctor.Join

Associated Types

type Rep (Join p a) ∷ TypeType #

Methods

fromJoin p a → Rep (Join p a) x #

toRep (Join p a) x → Join p a #

Generic (Tuple3 a b c) 
Instance details

Defined in Foundation.Tuple

Associated Types

type Rep (Tuple3 a b c) ∷ TypeType #

Methods

fromTuple3 a b c → Rep (Tuple3 a b c) x #

toRep (Tuple3 a b c) x → Tuple3 a b c #

Generic (CofreeF f a b) 
Instance details

Defined in Control.Comonad.Trans.Cofree

Associated Types

type Rep (CofreeF f a b) ∷ TypeType #

Methods

fromCofreeF f a b → Rep (CofreeF f a b) x #

toRep (CofreeF f a b) x → CofreeF f a b #

Generic (FreeF f a b) 
Instance details

Defined in Control.Monad.Trans.Free

Associated Types

type Rep (FreeF f a b) ∷ TypeType #

Methods

fromFreeF f a b → Rep (FreeF f a b) x #

toRep (FreeF f a b) x → FreeF f a b #

Generic (WithBlockNo f a) 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Protocol.ChainSel

Associated Types

type Rep (WithBlockNo f a) ∷ TypeType #

Methods

fromWithBlockNo f a → Rep (WithBlockNo f a) x #

toRep (WithBlockNo f a) x → WithBlockNo f a #

Generic (IteratorState m blk b) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Iterator

Associated Types

type Rep (IteratorState m blk b) ∷ TypeType #

Methods

from ∷ IteratorState m blk b → Rep (IteratorState m blk b) x #

toRep (IteratorState m blk b) x → IteratorState m blk b #

Generic (FollowerState m blk b) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.Impl.Types

Associated Types

type Rep (FollowerState m blk b) ∷ TypeType #

Methods

fromFollowerState m blk b → Rep (FollowerState m blk b) x #

toRep (FollowerState m blk b) x → FollowerState m blk b #

Generic (IteratorState m blk h) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Iterator

Associated Types

type Rep (IteratorState m blk h) ∷ TypeType #

Methods

from ∷ IteratorState m blk h → Rep (IteratorState m blk h) x #

toRep (IteratorState m blk h) x → IteratorState m blk h #

Generic (IteratorStateOrExhausted m hash h) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.Iterator

Associated Types

type Rep (IteratorStateOrExhausted m hash h) ∷ TypeType #

Methods

from ∷ IteratorStateOrExhausted m hash h → Rep (IteratorStateOrExhausted m hash h) x #

toRep (IteratorStateOrExhausted m hash h) x → IteratorStateOrExhausted m hash h #

Generic (InternalState m blk h) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.State

Associated Types

type Rep (InternalState m blk h) ∷ TypeType #

Methods

fromInternalState m blk h → Rep (InternalState m blk h) x #

toRep (InternalState m blk h) x → InternalState m blk h #

Generic (OpenState m blk h) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Impl.State

Associated Types

type Rep (OpenState m blk h) ∷ TypeType #

Methods

fromOpenState m blk h → Rep (OpenState m blk h) x #

toRep (OpenState m blk h) x → OpenState m blk h #

Generic (AnchoredSeq v a b) 
Instance details

Defined in Ouroboros.Network.AnchoredSeq

Associated Types

type Rep (AnchoredSeq v a b) ∷ TypeType #

Methods

fromAnchoredSeq v a b → Rep (AnchoredSeq v a b) x #

toRep (AnchoredSeq v a b) x → AnchoredSeq v a b #

Generic (MeasuredWith v a b) 
Instance details

Defined in Ouroboros.Network.AnchoredSeq

Associated Types

type Rep (MeasuredWith v a b) ∷ TypeType #

Methods

from ∷ MeasuredWith v a b → Rep (MeasuredWith v a b) x #

toRep (MeasuredWith v a b) x → MeasuredWith v a b #

Generic (TyDecl tyname uni ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (TyDecl tyname uni ann) ∷ TypeType #

Methods

fromTyDecl tyname uni ann → Rep (TyDecl tyname uni ann) x #

toRep (TyDecl tyname uni ann) x → TyDecl tyname uni ann #

Generic (Type tyname uni ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Type tyname uni ann) ∷ TypeType #

Methods

fromType tyname uni ann → Rep (Type tyname uni ann) x #

toRep (Type tyname uni ann) x → Type tyname uni ann #

Generic (Error uni fun ann) 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (Error uni fun ann) ∷ TypeType #

Methods

fromError uni fun ann → Rep (Error uni fun ann) x #

toRep (Error uni fun ann) x → Error uni fun ann #

Generic (MachineParameters machinecosts fun val) 
Instance details

Defined in PlutusCore.Evaluation.Machine.MachineParameters

Associated Types

type Rep (MachineParameters machinecosts fun val) ∷ TypeType #

Methods

fromMachineParameters machinecosts fun val → Rep (MachineParameters machinecosts fun val) x #

toRep (MachineParameters machinecosts fun val) x → MachineParameters machinecosts fun val #

Generic (K a b) 
Instance details

Defined in Data.SOP.BasicFunctors

Associated Types

type Rep (K a b) ∷ TypeType #

Methods

fromK a b → Rep (K a b) x #

toRep (K a b) x → K a b #

Generic (Tagged s b) 
Instance details

Defined in Data.Tagged

Associated Types

type Rep (Tagged s b) ∷ TypeType #

Methods

fromTagged s b → Rep (Tagged s b) x #

toRep (Tagged s b) x → Tagged s b #

Generic (These1 f g a) 
Instance details

Defined in Data.Functor.These

Associated Types

type Rep (These1 f g a) ∷ TypeType #

Methods

fromThese1 f g a → Rep (These1 f g a) x #

toRep (These1 f g a) x → These1 f g a #

Generic (Backwards f a) 
Instance details

Defined in Control.Applicative.Backwards

Associated Types

type Rep (Backwards f a) ∷ TypeType #

Methods

fromBackwards f a → Rep (Backwards f a) x #

toRep (Backwards f a) x → Backwards f a #

Generic (AccumT w m a) 
Instance details

Defined in Control.Monad.Trans.Accum

Associated Types

type Rep (AccumT w m a) ∷ TypeType #

Methods

fromAccumT w m a → Rep (AccumT w m a) x #

toRep (AccumT w m a) x → AccumT w m a #

Generic (ExceptT e m a) 
Instance details

Defined in Control.Monad.Trans.Except

Associated Types

type Rep (ExceptT e m a) ∷ TypeType #

Methods

fromExceptT e m a → Rep (ExceptT e m a) x #

toRep (ExceptT e m a) x → ExceptT e m a #

Generic (IdentityT f a) 
Instance details

Defined in Control.Monad.Trans.Identity

Associated Types

type Rep (IdentityT f a) ∷ TypeType #

Methods

fromIdentityT f a → Rep (IdentityT f a) x #

toRep (IdentityT f a) x → IdentityT f a #

Generic (ReaderT r m a) 
Instance details

Defined in Control.Monad.Trans.Reader

Associated Types

type Rep (ReaderT r m a) ∷ TypeType #

Methods

fromReaderT r m a → Rep (ReaderT r m a) x #

toRep (ReaderT r m a) x → ReaderT r m a #

Generic (SelectT r m a) 
Instance details

Defined in Control.Monad.Trans.Select

Associated Types

type Rep (SelectT r m a) ∷ TypeType #

Methods

fromSelectT r m a → Rep (SelectT r m a) x #

toRep (SelectT r m a) x → SelectT r m a #

Generic (StateT s m a) 
Instance details

Defined in Control.Monad.Trans.State.Lazy

Associated Types

type Rep (StateT s m a) ∷ TypeType #

Methods

fromStateT s m a → Rep (StateT s m a) x #

toRep (StateT s m a) x → StateT s m a #

Generic (StateT s m a) 
Instance details

Defined in Control.Monad.Trans.State.Strict

Associated Types

type Rep (StateT s m a) ∷ TypeType #

Methods

fromStateT s m a → Rep (StateT s m a) x #

toRep (StateT s m a) x → StateT s m a #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.CPS

Associated Types

type Rep (WriterT w m a) ∷ TypeType #

Methods

fromWriterT w m a → Rep (WriterT w m a) x #

toRep (WriterT w m a) x → WriterT w m a #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Associated Types

type Rep (WriterT w m a) ∷ TypeType #

Methods

fromWriterT w m a → Rep (WriterT w m a) x #

toRep (WriterT w m a) x → WriterT w m a #

Generic (WriterT w m a) 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Associated Types

type Rep (WriterT w m a) ∷ TypeType #

Methods

fromWriterT w m a → Rep (WriterT w m a) x #

toRep (WriterT w m a) x → WriterT w m a #

Generic (Constant a b) 
Instance details

Defined in Data.Functor.Constant

Associated Types

type Rep (Constant a b) ∷ TypeType #

Methods

fromConstant a b → Rep (Constant a b) x #

toRep (Constant a b) x → Constant a b #

Generic (Reverse f a) 
Instance details

Defined in Data.Functor.Reverse

Associated Types

type Rep (Reverse f a) ∷ TypeType #

Methods

fromReverse f a → Rep (Reverse f a) x #

toRep (Reverse f a) x → Reverse f a #

Generic (KVVector kv vv a) 
Instance details

Defined in Data.VMap.KVVector

Associated Types

type Rep (KVVector kv vv a) ∷ TypeType #

Methods

fromKVVector kv vv a → Rep (KVVector kv vv a) x #

toRep (KVVector kv vv a) x → KVVector kv vv a #

Generic (a, b, c) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c) ∷ TypeType #

Methods

from ∷ (a, b, c) → Rep (a, b, c) x #

toRep (a, b, c) x → (a, b, c) #

Generic (Product f g a) 
Instance details

Defined in Data.Functor.Product

Associated Types

type Rep (Product f g a) ∷ TypeType #

Methods

fromProduct f g a → Rep (Product f g a) x #

toRep (Product f g a) x → Product f g a #

Generic (Sum f g a) 
Instance details

Defined in Data.Functor.Sum

Associated Types

type Rep (Sum f g a) ∷ TypeType #

Methods

fromSum f g a → Rep (Sum f g a) x #

toRep (Sum f g a) x → Sum f g a #

Generic ((f :*: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :*: g) p) ∷ TypeType #

Methods

from ∷ (f :*: g) p → Rep ((f :*: g) p) x #

toRep ((f :*: g) p) x → (f :*: g) p #

Generic ((f :+: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :+: g) p) ∷ TypeType #

Methods

from ∷ (f :+: g) p → Rep ((f :+: g) p) x #

toRep ((f :+: g) p) x → (f :+: g) p #

Generic (K1 i c p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (K1 i c p) ∷ TypeType #

Methods

fromK1 i c p → Rep (K1 i c p) x #

toRep (K1 i c p) x → K1 i c p #

Generic (Tuple4 a b c d) 
Instance details

Defined in Foundation.Tuple

Associated Types

type Rep (Tuple4 a b c d) ∷ TypeType #

Methods

fromTuple4 a b c d → Rep (Tuple4 a b c d) x #

toRep (Tuple4 a b c d) x → Tuple4 a b c d #

Generic (VarDecl tyname name uni ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (VarDecl tyname name uni ann) ∷ TypeType #

Methods

fromVarDecl tyname name uni ann → Rep (VarDecl tyname name uni ann) x #

toRep (VarDecl tyname name uni ann) x → VarDecl tyname name uni ann #

Generic (TypeError term uni fun ann) 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (TypeError term uni fun ann) ∷ TypeType #

Methods

fromTypeError term uni fun ann → Rep (TypeError term uni fun ann) x #

toRep (TypeError term uni fun ann) x → TypeError term uni fun ann #

Generic (Program name uni fun ann) 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (Program name uni fun ann) ∷ TypeType #

Methods

fromProgram name uni fun ann → Rep (Program name uni fun ann) x #

toRep (Program name uni fun ann) x → Program name uni fun ann #

Generic (Term name uni fun ann) 
Instance details

Defined in UntypedPlutusCore.Core.Type

Associated Types

type Rep (Term name uni fun ann) ∷ TypeType #

Methods

fromTerm name uni fun ann → Rep (Term name uni fun ann) x #

toRep (Term name uni fun ann) x → Term name uni fun ann #

Generic (Subst name uni fun a) 
Instance details

Defined in UntypedPlutusCore.Transform.Inline

Associated Types

type Rep (Subst name uni fun a) ∷ TypeType #

Methods

from ∷ Subst name uni fun a → Rep (Subst name uni fun a) x #

toRep (Subst name uni fun a) x → Subst name uni fun a #

Generic (Datatype tyname name uni a) 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep (Datatype tyname name uni a) ∷ TypeType #

Methods

from ∷ Datatype tyname name uni a → Rep (Datatype tyname name uni a) x #

toRep (Datatype tyname name uni a) x → Datatype tyname name uni a #

Generic (StreamBody' mods framing contentType a) 
Instance details

Defined in Servant.API.Stream

Associated Types

type Rep (StreamBody' mods framing contentType a) ∷ TypeType #

Methods

fromStreamBody' mods framing contentType a → Rep (StreamBody' mods framing contentType a) x #

toRep (StreamBody' mods framing contentType a) x → StreamBody' mods framing contentType a #

Generic (Product2 f g x y) 
Instance details

Defined in Data.SOP.Functors

Associated Types

type Rep (Product2 f g x y) ∷ TypeType #

Methods

fromProduct2 f g x y → Rep (Product2 f g x y) x0 #

toRep (Product2 f g x y) x0 → Product2 f g x y #

Generic (ContT r m a) 
Instance details

Defined in Control.Monad.Trans.Cont

Associated Types

type Rep (ContT r m a) ∷ TypeType #

Methods

fromContT r m a → Rep (ContT r m a) x #

toRep (ContT r m a) x → ContT r m a #

Generic (VMap kv vv k v) 
Instance details

Defined in Data.VMap

Associated Types

type Rep (VMap kv vv k v) ∷ TypeType #

Methods

fromVMap kv vv k v → Rep (VMap kv vv k v) x #

toRep (VMap kv vv k v) x → VMap kv vv k v #

Generic (a, b, c, d) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d) ∷ TypeType #

Methods

from ∷ (a, b, c, d) → Rep (a, b, c, d) x #

toRep (a, b, c, d) x → (a, b, c, d) #

Generic (Compose f g a) 
Instance details

Defined in Data.Functor.Compose

Associated Types

type Rep (Compose f g a) ∷ TypeType #

Methods

fromCompose f g a → Rep (Compose f g a) x #

toRep (Compose f g a) x → Compose f g a #

Generic ((f :.: g) p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep ((f :.: g) p) ∷ TypeType #

Methods

from ∷ (f :.: g) p → Rep ((f :.: g) p) x #

toRep ((f :.: g) p) x → (f :.: g) p #

Generic (M1 i c f p) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (M1 i c f p) ∷ TypeType #

Methods

fromM1 i c f p → Rep (M1 i c f p) x #

toRep (M1 i c f p) x → M1 i c f p #

Generic (Clown f a b) 
Instance details

Defined in Data.Bifunctor.Clown

Associated Types

type Rep (Clown f a b) ∷ TypeType #

Methods

fromClown f a b → Rep (Clown f a b) x #

toRep (Clown f a b) x → Clown f a b #

Generic (Flip p a b) 
Instance details

Defined in Data.Bifunctor.Flip

Associated Types

type Rep (Flip p a b) ∷ TypeType #

Methods

fromFlip p a b → Rep (Flip p a b) x #

toRep (Flip p a b) x → Flip p a b #

Generic (Joker g a b) 
Instance details

Defined in Data.Bifunctor.Joker

Associated Types

type Rep (Joker g a b) ∷ TypeType #

Methods

fromJoker g a b → Rep (Joker g a b) x #

toRep (Joker g a b) x → Joker g a b #

Generic (WrappedBifunctor p a b) 
Instance details

Defined in Data.Bifunctor.Wrapped

Associated Types

type Rep (WrappedBifunctor p a b) ∷ TypeType #

Methods

fromWrappedBifunctor p a b → Rep (WrappedBifunctor p a b) x #

toRep (WrappedBifunctor p a b) x → WrappedBifunctor p a b #

Generic (Program tyname name uni fun ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Program tyname name uni fun ann) ∷ TypeType #

Methods

fromProgram tyname name uni fun ann → Rep (Program tyname name uni fun ann) x #

toRep (Program tyname name uni fun ann) x → Program tyname name uni fun ann #

Generic (Term tyname name uni fun ann) 
Instance details

Defined in PlutusCore.Core.Type

Associated Types

type Rep (Term tyname name uni fun ann) ∷ TypeType #

Methods

fromTerm tyname name uni fun ann → Rep (Term tyname name uni fun ann) x #

toRep (Term tyname name uni fun ann) x → Term tyname name uni fun ann #

Generic (NormCheckError tyname name uni fun ann) 
Instance details

Defined in PlutusCore.Error

Associated Types

type Rep (NormCheckError tyname name uni fun ann) ∷ TypeType #

Methods

fromNormCheckError tyname name uni fun ann → Rep (NormCheckError tyname name uni fun ann) x #

toRep (NormCheckError tyname name uni fun ann) x → NormCheckError tyname name uni fun ann #

Generic (Binding tyname name uni fun a) 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep (Binding tyname name uni fun a) ∷ TypeType #

Methods

from ∷ Binding tyname name uni fun a → Rep (Binding tyname name uni fun a) x #

toRep (Binding tyname name uni fun a) x → Binding tyname name uni fun a #

Generic (Program tyname name uni fun ann) 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep (Program tyname name uni fun ann) ∷ TypeType #

Methods

from ∷ Program tyname name uni fun ann → Rep (Program tyname name uni fun ann) x #

toRep (Program tyname name uni fun ann) x → Program tyname name uni fun ann #

Generic (Term tyname name uni fun a) 
Instance details

Defined in PlutusIR.Core.Type

Associated Types

type Rep (Term tyname name uni fun a) ∷ TypeType #

Methods

from ∷ Term tyname name uni fun a → Rep (Term tyname name uni fun a) x #

toRep (Term tyname name uni fun a) x → Term tyname name uni fun a #

Generic (InlinerState tyname name uni fun ann) 
Instance details

Defined in PlutusIR.Transform.Inline.Utils

Associated Types

type Rep (InlinerState tyname name uni fun ann) ∷ TypeType #

Methods

from ∷ InlinerState tyname name uni fun ann → Rep (InlinerState tyname name uni fun ann) x #

toRep (InlinerState tyname name uni fun ann) x → InlinerState tyname name uni fun ann #

Generic (BindingGrp tyname name uni fun a) 
Instance details

Defined in PlutusIR.Transform.LetFloatOut

Associated Types

type Rep (BindingGrp tyname name uni fun a) ∷ TypeType #

Methods

from ∷ BindingGrp tyname name uni fun a → Rep (BindingGrp tyname name uni fun a) x #

toRep (BindingGrp tyname name uni fun a) x → BindingGrp tyname name uni fun a #

Generic (Verb method statusCode contentTypes a) 
Instance details

Defined in Servant.API.Verbs

Associated Types

type Rep (Verb method statusCode contentTypes a) ∷ TypeType #

Methods

fromVerb method statusCode contentTypes a → Rep (Verb method statusCode contentTypes a) x #

toRep (Verb method statusCode contentTypes a) x → Verb method statusCode contentTypes a #

Generic ((f :.: g) p) 
Instance details

Defined in Data.SOP.BasicFunctors

Associated Types

type Rep ((f :.: g) p) ∷ TypeType #

Methods

from ∷ (f :.: g) p → Rep ((f :.: g) p) x #

toRep ((f :.: g) p) x → (f :.: g) p #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.CPS

Associated Types

type Rep (RWST r w s m a) ∷ TypeType #

Methods

fromRWST r w s m a → Rep (RWST r w s m a) x #

toRep (RWST r w s m a) x → RWST r w s m a #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Associated Types

type Rep (RWST r w s m a) ∷ TypeType #

Methods

fromRWST r w s m a → Rep (RWST r w s m a) x #

toRep (RWST r w s m a) x → RWST r w s m a #

Generic (RWST r w s m a) 
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Associated Types

type Rep (RWST r w s m a) ∷ TypeType #

Methods

fromRWST r w s m a → Rep (RWST r w s m a) x #

toRep (RWST r w s m a) x → RWST r w s m a #

Generic (a, b, c, d, e) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e) → Rep (a, b, c, d, e) x #

toRep (a, b, c, d, e) x → (a, b, c, d, e) #

Generic (Product f g a b) 
Instance details

Defined in Data.Bifunctor.Product

Associated Types

type Rep (Product f g a b) ∷ TypeType #

Methods

fromProduct f g a b → Rep (Product f g a b) x #

toRep (Product f g a b) x → Product f g a b #

Generic (Sum p q a b) 
Instance details

Defined in Data.Bifunctor.Sum

Associated Types

type Rep (Sum p q a b) ∷ TypeType #

Methods

fromSum p q a b → Rep (Sum p q a b) x #

toRep (Sum p q a b) x → Sum p q a b #

Generic (Stream method status framing contentType a) 
Instance details

Defined in Servant.API.Stream

Associated Types

type Rep (Stream method status framing contentType a) ∷ TypeType #

Methods

fromStream method status framing contentType a → Rep (Stream method status framing contentType a) x #

toRep (Stream method status framing contentType a) x → Stream method status framing contentType a #

Generic (a, b, c, d, e, f) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f) → Rep (a, b, c, d, e, f) x #

toRep (a, b, c, d, e, f) x → (a, b, c, d, e, f) #

Generic (Tannen f p a b) 
Instance details

Defined in Data.Bifunctor.Tannen

Associated Types

type Rep (Tannen f p a b) ∷ TypeType #

Methods

fromTannen f p a b → Rep (Tannen f p a b) x #

toRep (Tannen f p a b) x → Tannen f p a b #

Generic (a, b, c, d, e, f, g) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g) → Rep (a, b, c, d, e, f, g) x #

toRep (a, b, c, d, e, f, g) x → (a, b, c, d, e, f, g) #

Generic (a, b, c, d, e, f, g, h) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h) → Rep (a, b, c, d, e, f, g, h) x #

toRep (a, b, c, d, e, f, g, h) x → (a, b, c, d, e, f, g, h) #

Generic (Biff p f g a b) 
Instance details

Defined in Data.Bifunctor.Biff

Associated Types

type Rep (Biff p f g a b) ∷ TypeType #

Methods

fromBiff p f g a b → Rep (Biff p f g a b) x #

toRep (Biff p f g a b) x → Biff p f g a b #

Generic (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i) → Rep (a, b, c, d, e, f, g, h, i) x #

toRep (a, b, c, d, e, f, g, h, i) x → (a, b, c, d, e, f, g, h, i) #

Generic (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j) → Rep (a, b, c, d, e, f, g, h, i, j) x #

toRep (a, b, c, d, e, f, g, h, i, j) x → (a, b, c, d, e, f, g, h, i, j) #

Generic (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k) → Rep (a, b, c, d, e, f, g, h, i, j, k) x #

toRep (a, b, c, d, e, f, g, h, i, j, k) x → (a, b, c, d, e, f, g, h, i, j, k) #

Generic (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Rep (a, b, c, d, e, f, g, h, i, j, k, l) x #

toRep (a, b, c, d, e, f, g, h, i, j, k, l) x → (a, b, c, d, e, f, g, h, i, j, k, l) #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m) x #

toRep (a, b, c, d, e, f, g, h, i, j, k, l, m) x → (a, b, c, d, e, f, g, h, i, j, k, l, m) #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) x #

toRep (a, b, c, d, e, f, g, h, i, j, k, l, m, n) x → (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

Generic (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) ∷ TypeType #

Methods

from ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Rep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) x #

toRep (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) x → (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

class IsString a where #

IsString is used in combination with the -XOverloadedStrings language extension to convert the literals to different string types.

For example, if you use the text package, you can say

{-# LANGUAGE OverloadedStrings  #-}

myText = "hello world" :: Text

Internally, the extension will convert this to the equivalent of

myText = fromString @Text ("hello world" :: String)

Note: You can use fromString in normal code as well, but the usual performance/memory efficiency problems with String apply.

Methods

fromStringString → a #

Instances

Instances details
IsString Key 
Instance details

Defined in Data.Aeson.Key

Methods

fromStringStringKey #

IsString Value 
Instance details

Defined in Data.Aeson.Types.Internal

Methods

fromStringStringValue #

IsString GYAddressBech32 # 
Instance details

Defined in GeniusYield.Types.Address

IsString GYStakeAddressBech32 # 
Instance details

Defined in GeniusYield.Types.Address

IsString GYDatumHash # 
Instance details

Defined in GeniusYield.Types.Datum

IsString GYExtendedPaymentSigningKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYExtendedStakeSigningKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYPaymentSigningKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYPaymentVerificationKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYStakeSigningKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYStakeVerificationKey # 
Instance details

Defined in GeniusYield.Types.Key

IsString GYLogNamespace # 
Instance details

Defined in GeniusYield.Types.Logging

IsString LogSrc # 
Instance details

Defined in GeniusYield.Types.Logging

Methods

fromStringStringLogSrc #

IsString GYPaymentKeyHash # 
Instance details

Defined in GeniusYield.Types.PaymentKeyHash

IsString GYPubKeyHash # 
Instance details

Defined in GeniusYield.Types.PubKeyHash

IsString GYMintingPolicyId #
>>> fromString "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" :: GYMintingPolicyId
"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef"
Instance details

Defined in GeniusYield.Types.Script

IsString GYStakeValidatorHash #
>>> "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYStakeValidatorHash
GYStakeValidatorHash "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0"
Instance details

Defined in GeniusYield.Types.Script

IsString GYValidatorHash #
>>> "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYValidatorHash
GYValidatorHash "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0"
Instance details

Defined in GeniusYield.Types.Script

IsString GYScriptHash #
>>> "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYScriptHash
GYScriptHash "cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0"
Instance details

Defined in GeniusYield.Types.Script.ScriptHash

IsString GYStakeKeyHash # 
Instance details

Defined in GeniusYield.Types.StakeKeyHash

IsString GYStakePoolId # 
Instance details

Defined in GeniusYield.Types.StakePoolId

IsString GYStakePoolIdBech32 # 
Instance details

Defined in GeniusYield.Types.StakePoolId

IsString GYTime #
>>> "1970-01-01T00:00:00Z" :: GYTime
GYTime 0s
>>> "1970-01-01T00:00:00" :: GYTime
*** Exception: can't parse '1970-01-01T00:00:00' as GYTime in ISO8601 format
...
Instance details

Defined in GeniusYield.Types.Time

Methods

fromStringStringGYTime #

IsString GYTxId #
>>> "6c751d3e198c5608dfafdfdffe16aeac8a28f88f3a769cf22dd45e8bc84f47e8" :: GYTxId
6c751d3e198c5608dfafdfdffe16aeac8a28f88f3a769cf22dd45e8bc84f47e8
Instance details

Defined in GeniusYield.Types.Tx

Methods

fromStringStringGYTxId #

IsString GYTxOutRef #
>>> "4293386fef391299c9886dc0ef3e8676cbdbc2c9f2773507f1f838e00043a189#1" :: GYTxOutRef
GYTxOutRef (TxIn "4293386fef391299c9886dc0ef3e8676cbdbc2c9f2773507f1f838e00043a189" (TxIx 1))
>>> "not-a-tx-out-ref" :: GYTxOutRef
*** Exception: invalid GYTxOutRef: not-a-tx-out-ref
...
Instance details

Defined in GeniusYield.Types.TxOutRef

Methods

fromStringStringGYTxOutRef #

IsString GYAssetClass # 
Instance details

Defined in GeniusYield.Types.Value

IsString GYTokenName #

Does NOT UTF8-encode.

Instance details

Defined in GeniusYield.Types.Value

IsString Alphabet 
Instance details

Defined in Data.ByteString.Base58.Internal

Methods

fromStringStringAlphabet #

IsString ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

IsString AsciiString 
Instance details

Defined in Basement.Types.AsciiString

IsString String 
Instance details

Defined in Basement.UTF8.Base

Methods

fromStringString0String #

IsString Project 
Instance details

Defined in Blockfrost.Auth

Methods

fromStringStringProject #

IsString Address 
Instance details

Defined in Blockfrost.Types.Shared.Address

Methods

fromStringStringAddress #

IsString AssetId 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

fromStringStringAssetId #

IsString BlockHash 
Instance details

Defined in Blockfrost.Types.Shared.BlockHash

Methods

fromStringStringBlockHash #

IsString DatumHash 
Instance details

Defined in Blockfrost.Types.Shared.DatumHash

Methods

fromStringStringDatumHash #

IsString PolicyId 
Instance details

Defined in Blockfrost.Types.Shared.PolicyId

Methods

fromStringStringPolicyId #

IsString PoolId 
Instance details

Defined in Blockfrost.Types.Shared.PoolId

Methods

fromStringStringPoolId #

IsString ScriptHash 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

Methods

fromStringStringScriptHash #

IsString TxHash 
Instance details

Defined in Blockfrost.Types.Shared.TxHash

Methods

fromStringStringTxHash #

IsString ByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Internal.Type

Methods

fromStringStringByteString #

IsString ByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Lazy.Internal

Methods

fromStringStringByteString #

IsString ShortByteString

Beware: fromString truncates multi-byte characters to octets. e.g. "枯朶に烏のとまりけり秋の暮" becomes �6k�nh~�Q��n�

Instance details

Defined in Data.ByteString.Short.Internal

IsString PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

fromStringStringPraosNonce #

IsString ScriptHash 
Instance details

Defined in Cardano.Api.Script

Methods

fromStringStringScriptHash #

IsString TextEnvelopeDescr 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

IsString TextEnvelopeType 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

IsString TxId 
Instance details

Defined in Cardano.Api.TxIn

Methods

fromStringStringTxId #

IsString AssetName 
Instance details

Defined in Cardano.Api.Value

Methods

fromStringStringAssetName #

IsString PolicyId 
Instance details

Defined in Cardano.Api.Value

Methods

fromStringStringPolicyId #

IsString Seed 
Instance details

Defined in Crypto.Encoding.BIP39

Methods

fromStringStringSeed #

IsString GenesisFile 
Instance details

Defined in Cardano.Node.Types

IsString TmpAbsolutePath 
Instance details

Defined in Testnet.Filepath

IsString ByteArray 
Instance details

Defined in Codec.CBOR.ByteArray

Methods

fromStringStringByteArray #

IsString SlicedByteArray 
Instance details

Defined in Codec.CBOR.ByteArray.Sliced

IsString GroupName 
Instance details

Defined in Hedgehog.Internal.Property

Methods

fromStringStringGroupName #

IsString LabelName 
Instance details

Defined in Hedgehog.Internal.Property

Methods

fromStringStringLabelName #

IsString PropertyName 
Instance details

Defined in Hedgehog.Internal.Property

IsString Skip

We use this instance to support usage like

  withSkip "3:aB"

It throws an error if the input is not a valid compressed Skip.

Instance details

Defined in Hedgehog.Internal.Property

Methods

fromStringStringSkip #

IsString RequestBody

Since 0.4.12

Instance details

Defined in Network.HTTP.Client.Types

IsString MediaType 
Instance details

Defined in Network.HTTP.Media.MediaType.Internal

Methods

fromStringStringMediaType #

IsString IP 
Instance details

Defined in Data.IP.Addr

Methods

fromStringStringIP #

IsString IPv4 
Instance details

Defined in Data.IP.Addr

Methods

fromStringStringIPv4 #

IsString IPv6 
Instance details

Defined in Data.IP.Addr

Methods

fromStringStringIPv6 #

IsString IPRange 
Instance details

Defined in Data.IP.Range

Methods

fromStringStringIPRange #

IsString Environment 
Instance details

Defined in Katip.Core

IsString LogStr 
Instance details

Defined in Katip.Core

Methods

fromStringStringLogStr #

IsString Namespace 
Instance details

Defined in Katip.Core

Methods

fromStringStringNamespace #

IsString PolicyId 
Instance details

Defined in Maestro.Types.Common

Methods

fromStringStringPolicyId #

IsString TokenName 
Instance details

Defined in Maestro.Types.Common

Methods

fromStringStringTokenName #

IsString TxHash 
Instance details

Defined in Maestro.Types.Common

Methods

fromStringStringTxHash #

IsString NextCursor 
Instance details

Defined in Maestro.Types.V1.Common.Pagination

Methods

fromStringStringNextCursor #

IsString ScrubbedBytes 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

IsString License 
Instance details

Defined in Data.OpenApi.Internal

Methods

fromStringStringLicense #

IsString Response 
Instance details

Defined in Data.OpenApi.Internal

Methods

fromStringStringResponse #

IsString Server 
Instance details

Defined in Data.OpenApi.Internal

Methods

fromStringStringServer #

IsString Tag 
Instance details

Defined in Data.OpenApi.Internal

Methods

fromStringStringTag #

IsString UnliftingError 
Instance details

Defined in PlutusCore.Builtin.Result

IsString LedgerBytes

Read in arbitrary LedgerBytes as a "string" (of characters).

This is mostly used together with GHC's OverloadedStrings extension to specify at the source code any LedgerBytes constants, by utilizing Haskell's double-quoted string syntax.

IMPORTANT: the LedgerBytes are expected to be already hex-encoded (base16); otherwise, LedgerBytesError will be raised as an Exception.

Instance details

Defined in PlutusLedgerApi.V1.Bytes

IsString PubKeyHash

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Crypto

Methods

fromStringStringPubKeyHash #

IsString DatumHash

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Scripts

Methods

fromStringStringDatumHash #

IsString RedeemerHash

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Scripts

IsString ScriptHash

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Scripts

Methods

fromStringStringScriptHash #

IsString TxId

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Tx

Methods

fromStringStringTxId #

IsString CurrencySymbol

from hex encoding

Instance details

Defined in PlutusLedgerApi.V1.Value

IsString TokenName

UTF-8 encoding. Doesn't verify length.

Instance details

Defined in PlutusLedgerApi.V1.Value

Methods

fromStringStringTokenName #

IsString Identifier 
Instance details

Defined in Database.PostgreSQL.Simple.Types

Methods

fromStringStringIdentifier #

IsString QualifiedIdentifier

"foo.bar" will get turned into QualifiedIdentifier (Just "foo") "bar", while "foo" will get turned into QualifiedIdentifier Nothing "foo". Note this instance is for convenience, and does not match postgres syntax. It only examines the first period character, and thus cannot be used if the qualifying identifier contains a period for example.

Instance details

Defined in Database.PostgreSQL.Simple.Types

IsString Query 
Instance details

Defined in Database.PostgreSQL.Simple.Types

Methods

fromStringStringQuery #

IsString Doc 
Instance details

Defined in Text.PrettyPrint.HughesPJ

Methods

fromStringStringDoc #

IsString Host 
Instance details

Defined in Data.Swagger.Internal

Methods

fromStringStringHost #

IsString License 
Instance details

Defined in Data.Swagger.Internal

Methods

fromStringStringLicense #

IsString Response 
Instance details

Defined in Data.Swagger.Internal

Methods

fromStringStringResponse #

IsString Tag 
Instance details

Defined in Data.Swagger.Internal

Methods

fromStringStringTag #

IsString Builder

Performs replacement on invalid scalar values:

>>> :set -XOverloadedStrings
>>> "\55555" :: Builder
"\65533"
Instance details

Defined in Data.Text.Internal.Builder

Methods

fromStringStringBuilder #

IsString ShortText

Note: Surrogate pairs ([U+D800 .. U+DFFF]) in string literals are replaced by U+FFFD.

This matches the behaviour of IsString instance for Text.

Instance details

Defined in Data.Text.Short.Internal

Methods

fromStringStringShortText #

IsString (Encoding' a)

Since: aeson-2.2.0.0

Instance details

Defined in Data.Aeson.Encoding.Internal

Methods

fromStringStringEncoding' a #

IsString a ⇒ IsString (Graph a) 
Instance details

Defined in Algebra.Graph

Methods

fromStringStringGraph a #

IsString a ⇒ IsString (AdjacencyMap a) 
Instance details

Defined in Algebra.Graph.AdjacencyMap

Methods

fromStringStringAdjacencyMap a #

IsString a ⇒ IsString (AdjacencyMap a) 
Instance details

Defined in Algebra.Graph.NonEmpty.AdjacencyMap

Methods

fromStringStringAdjacencyMap a #

IsString a ⇒ IsString (Relation a) 
Instance details

Defined in Algebra.Graph.Relation

Methods

fromStringStringRelation a #

IsString a ⇒ IsString (Relation a) 
Instance details

Defined in Algebra.Graph.Relation.Symmetric

Methods

fromStringStringRelation a #

IsString a ⇒ IsString (Graph a) 
Instance details

Defined in Algebra.Graph.Undirected

Methods

fromStringStringGraph a #

IsString a ⇒ IsString (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Methods

fromStringStringIdentity a #

IsString (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

IsString (Hash GovernancePoll) 
Instance details

Defined in Cardano.Api.Governance.Poll

IsString (Hash ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (Hash KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromStringStringHash KesKey #

IsString (Hash VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

Methods

fromStringStringHash VrfKey #

IsString (Hash CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

Methods

fromStringStringHash DRepKey #

IsString (Hash GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

IsString (SigningKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (SigningKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (SigningKey CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (SigningKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey ByronKey) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey ByronKeyLegacy) 
Instance details

Defined in Cardano.Api.Keys.Byron

IsString (VerificationKey KesKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey VrfKey) 
Instance details

Defined in Cardano.Api.Keys.Praos

IsString (VerificationKey CommitteeColdExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey CommitteeColdKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey CommitteeHotExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey CommitteeHotKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey DRepExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisDelegateKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey GenesisUTxOKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeExtendedKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakeKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

IsString (VerificationKey StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

SerialiseAsBech32 a ⇒ IsString (UsingBech32 a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

Methods

fromStringStringUsingBech32 a #

SerialiseAsRawBytes a ⇒ IsString (UsingRawBytesHex a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

(IsString s, FoldCase s) ⇒ IsString (CI s) 
Instance details

Defined in Data.CaseInsensitive.Internal

Methods

fromStringStringCI s #

a ~ CharIsString (Seq a)

Since: containers-0.5.7

Instance details

Defined in Data.Sequence.Internal

Methods

fromStringStringSeq a #

a ~ CharIsString (DNonEmpty a) 
Instance details

Defined in Data.DList.DNonEmpty.Internal

Methods

fromStringStringDNonEmpty a #

a ~ CharIsString (DList a) 
Instance details

Defined in Data.DList.Internal

Methods

fromStringStringDList a #

(IsString a, Hashable a) ⇒ IsString (Hashed a) 
Instance details

Defined in Data.Hashable.Class

Methods

fromStringStringHashed a #

IsString (AddrRange IPv4) 
Instance details

Defined in Data.IP.Range

IsString (AddrRange IPv6) 
Instance details

Defined in Data.IP.Range

IsString (Bech32StringOf a) 
Instance details

Defined in Maestro.Types.Common

IsString (HashStringOf a) 
Instance details

Defined in Maestro.Types.Common

Methods

fromStringStringHashStringOf a #

IsString (HexStringOf a) 
Instance details

Defined in Maestro.Types.Common

Methods

fromStringStringHexStringOf a #

IsString (TaggedText description) 
Instance details

Defined in Maestro.Types.V1.Common

Methods

fromStringStringTaggedText description #

IsString a ⇒ IsString (Referenced a) 
Instance details

Defined in Data.OpenApi.Internal

Methods

fromStringStringReferenced a #

IsString (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.HughesPJ

Methods

fromStringStringDoc a #

IsString (Doc ann)
>>> pretty ("hello\nworld")
hello
world

This instance uses the Pretty Doc instance, and uses the same newline to line conversion.

Instance details

Defined in Prettyprinter.Internal

Methods

fromStringStringDoc ann #

IsString a ⇒ IsString (Referenced a) 
Instance details

Defined in Data.Swagger.Internal

Methods

fromStringStringReferenced a #

HashAlgorithm h ⇒ IsString (Q (TExp (Hash h a)))

This instance is meant to be used with TemplateHaskell

>>> import Cardano.Crypto.Hash.Class (Hash)
>>> import Cardano.Crypto.Hash.Short (ShortHash)
>>> :set -XTemplateHaskell
>>> :set -XOverloadedStrings
>>> let hash = $$("0xBADC0FFEE0DDF00D") :: Hash ShortHash ()
>>> print hash
"badc0ffee0ddf00d"
>>> let hash = $$("0123456789abcdef") :: Hash ShortHash ()
>>> print hash
"0123456789abcdef"
>>> let hash = $$("deadbeef") :: Hash ShortHash ()
<interactive>:5:15: error:
    • <Hash blake2b_prefix_8>: Expected in decoded form to be: 8 bytes, but got: 4
    • In the Template Haskell splice $$("deadbeef")
      In the expression: $$("deadbeef") :: Hash ShortHash ()
      In an equation for ‘hash’:
          hash = $$("deadbeef") :: Hash ShortHash ()
>>> let hash = $$("123") :: Hash ShortHash ()
<interactive>:6:15: error:
    • <Hash blake2b_prefix_8>: Malformed hex: invalid bytestring size
    • In the Template Haskell splice $$("123")
      In the expression: $$("123") :: Hash ShortHash ()
      In an equation for ‘hash’: hash = $$("123") :: Hash ShortHash ()
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromStringStringQ (TExp (Hash h a)) #

KnownNat n ⇒ IsString (Q (TExp (PinnedSizedBytes n)))

This instance is meant to be used with TemplateHaskell

>>> import Cardano.Crypto.PinnedSizedBytes
>>> :set -XTemplateHaskell
>>> :set -XOverloadedStrings
>>> :set -XDataKinds
>>> print ($$("0xdeadbeef") :: PinnedSizedBytes 4)
"deadbeef"
>>> print ($$("deadbeef") :: PinnedSizedBytes 4)
"deadbeef"
>>> let bsb = $$("0xdeadbeef") :: PinnedSizedBytes 5
<interactive>:9:14: error:
    • <PinnedSizedBytes>: Expected in decoded form to be: 5 bytes, but got: 4
    • In the Template Haskell splice $$("0xdeadbeef")
      In the expression: $$("0xdeadbeef") :: PinnedSizedBytes 5
      In an equation for ‘bsb’:
          bsb = $$("0xdeadbeef") :: PinnedSizedBytes 5
>>> let bsb = $$("nogood") :: PinnedSizedBytes 5
<interactive>:11:14: error:
    • <PinnedSizedBytes>: Malformed hex: invalid character at offset: 0
    • In the Template Haskell splice $$("nogood")
      In the expression: $$("nogood") :: PinnedSizedBytes 5
      In an equation for ‘bsb’: bsb = $$("nogood") :: PinnedSizedBytes 5
Instance details

Defined in Cardano.Crypto.PinnedSizedBytes

Methods

fromStringStringQ (TExp (PinnedSizedBytes n)) #

IsString (Doc a) 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

fromStringStringDoc a #

a ~ CharIsString [a]

(a ~ Char) context was introduced in 4.9.0.0

Since: base-2.1

Instance details

Defined in Data.String

Methods

fromStringString → [a] #

IsString a ⇒ IsString (Graph e a) 
Instance details

Defined in Algebra.Graph.Labelled

Methods

fromStringStringGraph e a #

IsString a ⇒ IsString (AdjacencyMap e a) 
Instance details

Defined in Algebra.Graph.Labelled.AdjacencyMap

Methods

fromStringStringAdjacencyMap e a #

IsString (File content direction) 
Instance details

Defined in Cardano.Api.IO.Base

Methods

fromStringStringFile content direction #

HashAlgorithm h ⇒ IsString (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromStringStringHash h a #

IsString a ⇒ IsString (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Methods

fromStringStringConst a b #

IsString a ⇒ IsString (Tagged s a) 
Instance details

Defined in Data.Tagged

Methods

fromStringStringTagged s a #

HashAlgorithm h ⇒ IsString (Code Q (Hash h a)) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

fromStringStringCode Q (Hash h a) #

KnownNat n ⇒ IsString (Code Q (PinnedSizedBytes n)) 
Instance details

Defined in Cardano.Crypto.PinnedSizedBytes

data Proxy (t ∷ k) #

Proxy is a type that holds no data, but has a phantom parameter of arbitrary type (or even kind). Its use is to provide type information, even though there is no value available of that type (or it may be too costly to create one).

Historically, Proxy :: Proxy a is a safer alternative to the undefined :: a idiom.

>>> Proxy :: Proxy (Void, Int -> Int)
Proxy

Proxy can even hold types of higher kinds,

>>> Proxy :: Proxy Either
Proxy
>>> Proxy :: Proxy Functor
Proxy
>>> Proxy :: Proxy complicatedStructure
Proxy

Constructors

Proxy 

Instances

Instances details
ApplicativeB (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ApplicativeB

Methods

bpure ∷ (∀ (a ∷ k0). f a) → Proxy f #

bprod ∷ ∀ (f ∷ k0 → Type) (g ∷ k0 → Type). Proxy f → Proxy g → Proxy (Product f g) #

ConstraintsB (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

Associated Types

type AllB c Proxy #

Methods

baddDicts ∷ ∀ (c ∷ k0 → Constraint) (f ∷ k0 → Type). AllB c ProxyProxy f → Proxy (Product (Dict c) f) #

DistributiveB (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.DistributiveB

Methods

bdistribute ∷ ∀ f (g ∷ k0 → Type). Functor f ⇒ f (Proxy g) → Proxy (Compose f g) #

FunctorB (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.FunctorB

Methods

bmap ∷ (∀ (a ∷ k0). f a → g a) → Proxy f → Proxy g #

TraversableB (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.TraversableB

Methods

btraverseApplicative e ⇒ (∀ (a ∷ k0). f a → e (g a)) → Proxy f → e (Proxy g) #

Generic1 (Proxy ∷ k → Type) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep1 Proxy ∷ k → Type #

Methods

from1 ∷ ∀ (a ∷ k0). Proxy a → Rep1 Proxy a #

to1 ∷ ∀ (a ∷ k0). Rep1 Proxy a → Proxy a #

FoldableWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → Proxy a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → Proxy a → m #

ifoldr ∷ (Void → a → b → b) → b → Proxy a → b #

ifoldl ∷ (Void → b → a → b) → b → Proxy a → b #

ifoldr' ∷ (Void → a → b → b) → b → Proxy a → b #

ifoldl' ∷ (Void → b → a → b) → b → Proxy a → b #

FunctorWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → Proxy a → Proxy b #

TraversableWithIndex Void (ProxyTypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → Proxy a → f (Proxy b) #

FilterableWithIndex Void (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

imapMaybe ∷ (Void → a → Maybe b) → Proxy a → Proxy b #

ifilter ∷ (Void → a → Bool) → Proxy a → Proxy a #

WitherableWithIndex Void (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

iwitherApplicative f ⇒ (Void → a → f (Maybe b)) → Proxy a → f (Proxy b) #

iwitherMMonad m ⇒ (Void → a → m (Maybe b)) → Proxy a → m (Proxy b) #

ifilterAApplicative f ⇒ (Void → a → f Bool) → Proxy a → f (Proxy a) #

Representable (ProxyTypeType) 
Instance details

Defined in Data.Functor.Rep

Associated Types

type Rep Proxy #

Methods

tabulate ∷ (Rep Proxy → a) → Proxy a #

indexProxy a → Rep Proxy → a #

FromJSON1 (ProxyTypeType) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSONMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser (Proxy a) #

liftParseJSONListMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser [Proxy a] #

liftOmittedFieldMaybe a → Maybe (Proxy a) #

ToJSON1 (ProxyTypeType) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a → Bool) → (a → Value) → ([a] → Value) → Proxy a → Value #

liftToJSONList ∷ (a → Bool) → (a → Value) → ([a] → Value) → [Proxy a] → Value #

liftToEncoding ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → Proxy a → Encoding #

liftToEncodingList ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → [Proxy a] → Encoding #

liftOmitField ∷ (a → Bool) → Proxy a → Bool #

Foldable (ProxyTypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Foldable

Methods

foldMonoid m ⇒ Proxy m → m #

foldMapMonoid m ⇒ (a → m) → Proxy a → m #

foldMap'Monoid m ⇒ (a → m) → Proxy a → m #

foldr ∷ (a → b → b) → b → Proxy a → b #

foldr' ∷ (a → b → b) → b → Proxy a → b #

foldl ∷ (b → a → b) → b → Proxy a → b #

foldl' ∷ (b → a → b) → b → Proxy a → b #

foldr1 ∷ (a → a → a) → Proxy a → a #

foldl1 ∷ (a → a → a) → Proxy a → a #

toListProxy a → [a] #

nullProxy a → Bool #

lengthProxy a → Int #

elemEq a ⇒ a → Proxy a → Bool #

maximumOrd a ⇒ Proxy a → a #

minimumOrd a ⇒ Proxy a → a #

sumNum a ⇒ Proxy a → a #

productNum a ⇒ Proxy a → a #

Contravariant (ProxyTypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Proxy a → Proxy a' #

(>$) ∷ b → Proxy b → Proxy a #

Traversable (ProxyTypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverseApplicative f ⇒ (a → f b) → Proxy a → f (Proxy b) #

sequenceAApplicative f ⇒ Proxy (f a) → f (Proxy a) #

mapMMonad m ⇒ (a → m b) → Proxy a → m (Proxy b) #

sequenceMonad m ⇒ Proxy (m a) → m (Proxy a) #

Alternative (ProxyTypeType)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

emptyProxy a #

(<|>)Proxy a → Proxy a → Proxy a #

someProxy a → Proxy [a] #

manyProxy a → Proxy [a] #

Applicative (ProxyTypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

pure ∷ a → Proxy a #

(<*>)Proxy (a → b) → Proxy a → Proxy b #

liftA2 ∷ (a → b → c) → Proxy a → Proxy b → Proxy c #

(*>)Proxy a → Proxy b → Proxy b #

(<*)Proxy a → Proxy b → Proxy a #

Functor (ProxyTypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

fmap ∷ (a → b) → Proxy a → Proxy b #

(<$) ∷ a → Proxy b → Proxy a #

Monad (ProxyTypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

(>>=)Proxy a → (a → Proxy b) → Proxy b #

(>>)Proxy a → Proxy b → Proxy b #

return ∷ a → Proxy a #

MonadPlus (ProxyTypeType)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

mzeroProxy a #

mplusProxy a → Proxy a → Proxy a #

NFData1 (ProxyTypeType)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf ∷ (a → ()) → Proxy a → () #

Distributive (ProxyTypeType) 
Instance details

Defined in Data.Distributive

Methods

distributeFunctor f ⇒ f (Proxy a) → Proxy (f a) #

collectFunctor f ⇒ (a → Proxy b) → f a → Proxy (f b) #

distributeMMonad m ⇒ m (Proxy a) → Proxy (m a) #

collectMMonad m ⇒ (a → Proxy b) → m a → Proxy (m b) #

Hashable1 (ProxyTypeType) 
Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a → Int) → IntProxy a → Int #

Filterable (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

mapMaybe ∷ (a → Maybe b) → Proxy a → Proxy b #

catMaybesProxy (Maybe a) → Proxy a #

filter ∷ (a → Bool) → Proxy a → Proxy a #

Witherable (ProxyTypeType) 
Instance details

Defined in Witherable

Methods

witherApplicative f ⇒ (a → f (Maybe b)) → Proxy a → f (Proxy b) #

witherMMonad m ⇒ (a → m (Maybe b)) → Proxy a → m (Proxy b) #

filterAApplicative f ⇒ (a → f Bool) → Proxy a → f (Proxy a) #

witherMapApplicative m ⇒ (Proxy b → r) → (a → m (Maybe b)) → Proxy a → m r #

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

omitFieldProxy a → Bool #

Data t ⇒ Data (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Proxy t → c (Proxy t) #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c (Proxy t) #

toConstrProxy t → Constr #

dataTypeOfProxy t → DataType #

dataCast1Typeable t0 ⇒ (∀ d. Data d ⇒ c (t0 d)) → Maybe (c (Proxy t)) #

dataCast2Typeable t0 ⇒ (∀ d e. (Data d, Data e) ⇒ c (t0 d e)) → Maybe (c (Proxy t)) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Proxy t → Proxy t #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Proxy t → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Proxy t → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Proxy t → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Proxy t → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Proxy t → m (Proxy t) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Proxy t → m (Proxy t) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Proxy t → m (Proxy t) #

Monoid (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

memptyProxy s #

mappendProxy s → Proxy s → Proxy s #

mconcat ∷ [Proxy s] → Proxy s #

Semigroup (Proxy s)

Since: base-4.9.0.0

Instance details

Defined in Data.Proxy

Methods

(<>)Proxy s → Proxy s → Proxy s #

sconcatNonEmpty (Proxy s) → Proxy s #

stimesIntegral b ⇒ b → Proxy s → Proxy s #

Bounded (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

minBoundProxy t #

maxBoundProxy t #

Enum (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

succProxy s → Proxy s #

predProxy s → Proxy s #

toEnumIntProxy s #

fromEnumProxy s → Int #

enumFromProxy s → [Proxy s] #

enumFromThenProxy s → Proxy s → [Proxy s] #

enumFromToProxy s → Proxy s → [Proxy s] #

enumFromThenToProxy s → Proxy s → Proxy s → [Proxy s] #

Generic (Proxy t) 
Instance details

Defined in GHC.Generics

Associated Types

type Rep (Proxy t) ∷ TypeType #

Methods

fromProxy t → Rep (Proxy t) x #

toRep (Proxy t) x → Proxy t #

Ix (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

range ∷ (Proxy s, Proxy s) → [Proxy s] #

index ∷ (Proxy s, Proxy s) → Proxy s → Int #

unsafeIndex ∷ (Proxy s, Proxy s) → Proxy s → Int #

inRange ∷ (Proxy s, Proxy s) → Proxy s → Bool #

rangeSize ∷ (Proxy s, Proxy s) → Int #

unsafeRangeSize ∷ (Proxy s, Proxy s) → Int #

Read (Proxy t)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Show (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

showsPrecIntProxy s → ShowS #

showProxy s → String #

showList ∷ [Proxy s] → ShowS #

NFData (Proxy a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnfProxy a → () #

Eq (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

(==)Proxy s → Proxy s → Bool #

(/=)Proxy s → Proxy s → Bool #

Ord (Proxy s)

Since: base-4.7.0.0

Instance details

Defined in Data.Proxy

Methods

compareProxy s → Proxy s → Ordering #

(<)Proxy s → Proxy s → Bool #

(<=)Proxy s → Proxy s → Bool #

(>)Proxy s → Proxy s → Bool #

(>=)Proxy s → Proxy s → Bool #

maxProxy s → Proxy s → Proxy s #

minProxy s → Proxy s → Proxy s #

Abelian (Proxy x) 
Instance details

Defined in Data.Group

Cyclic (Proxy x) 
Instance details

Defined in Data.Group

Methods

generatorProxy x #

Group (Proxy x)

Trivial group, Functor style.

Instance details

Defined in Data.Group

Methods

invertProxy x → Proxy x #

(~~)Proxy x → Proxy x → Proxy x #

powIntegral x0 ⇒ Proxy x → x0 → Proxy x #

Hashable (Proxy a) 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntProxy a → Int #

hashProxy a → Int #

MonoFoldable (Proxy a)

Since: mono-traversable-1.0.11.0

Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m ⇒ (Element (Proxy a) → m) → Proxy a → m #

ofoldr ∷ (Element (Proxy a) → b → b) → b → Proxy a → b #

ofoldl' ∷ (a0 → Element (Proxy a) → a0) → a0 → Proxy a → a0 #

otoListProxy a → [Element (Proxy a)] #

oall ∷ (Element (Proxy a) → Bool) → Proxy a → Bool #

oany ∷ (Element (Proxy a) → Bool) → Proxy a → Bool #

onullProxy a → Bool #

olengthProxy a → Int #

olength64Proxy a → Int64 #

ocompareLengthIntegral i ⇒ Proxy a → i → Ordering #

otraverse_Applicative f ⇒ (Element (Proxy a) → f b) → Proxy a → f () #

ofor_Applicative f ⇒ Proxy a → (Element (Proxy a) → f b) → f () #

omapM_Applicative m ⇒ (Element (Proxy a) → m ()) → Proxy a → m () #

oforM_Applicative m ⇒ Proxy a → (Element (Proxy a) → m ()) → m () #

ofoldlMMonad m ⇒ (a0 → Element (Proxy a) → m a0) → a0 → Proxy a → m a0 #

ofoldMap1ExSemigroup m ⇒ (Element (Proxy a) → m) → Proxy a → m #

ofoldr1Ex ∷ (Element (Proxy a) → Element (Proxy a) → Element (Proxy a)) → Proxy a → Element (Proxy a) #

ofoldl1Ex' ∷ (Element (Proxy a) → Element (Proxy a) → Element (Proxy a)) → Proxy a → Element (Proxy a) #

headExProxy a → Element (Proxy a) #

lastExProxy a → Element (Proxy a) #

unsafeHeadProxy a → Element (Proxy a) #

unsafeLastProxy a → Element (Proxy a) #

maximumByEx ∷ (Element (Proxy a) → Element (Proxy a) → Ordering) → Proxy a → Element (Proxy a) #

minimumByEx ∷ (Element (Proxy a) → Element (Proxy a) → Ordering) → Proxy a → Element (Proxy a) #

oelemElement (Proxy a) → Proxy a → Bool #

onotElemElement (Proxy a) → Proxy a → Bool #

MonoFunctor (Proxy a)

Since: mono-traversable-1.0.11.0

Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element (Proxy a) → Element (Proxy a)) → Proxy a → Proxy a #

MonoPointed (Proxy a)

Since: mono-traversable-1.0.11.0

Instance details

Defined in Data.MonoTraversable

Methods

opointElement (Proxy a) → Proxy a #

MonoTraversable (Proxy a)

Since: mono-traversable-1.0.11.0

Instance details

Defined in Data.MonoTraversable

Methods

otraverseApplicative f ⇒ (Element (Proxy a) → f (Element (Proxy a))) → Proxy a → f (Proxy a) #

omapMApplicative m ⇒ (Element (Proxy a) → m (Element (Proxy a))) → Proxy a → m (Proxy a) #

type AllB (c ∷ k → Constraint) (Proxy ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

type AllB (c ∷ k → Constraint) (Proxy ∷ (k → Type) → Type) = ()
type Rep1 (Proxy ∷ k → Type)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep1 (Proxy ∷ k → Type) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1 ∷ k → Type))
type Rep (ProxyTypeType) 
Instance details

Defined in Data.Functor.Rep

type Rep (ProxyTypeType) = Void
type Rep (Proxy t)

Since: base-4.6.0.0

Instance details

Defined in GHC.Generics

type Rep (Proxy t) = D1 ('MetaData "Proxy" "Data.Proxy" "base" 'False) (C1 ('MetaCons "Proxy" 'PrefixI 'False) (U1TypeType))
type Code (Proxy t) 
Instance details

Defined in Generics.SOP.Instances

type Code (Proxy t) = '['[] ∷ [Type]]
type DatatypeInfoOf (Proxy t) 
Instance details

Defined in Generics.SOP.Instances

type DatatypeInfoOf (Proxy t) = 'ADT "Data.Proxy" "Proxy" '['Constructor "Proxy"] '['[] ∷ [StrictnessInfo]]
type Element (Proxy a) 
Instance details

Defined in Data.MonoTraversable

type Element (Proxy a) = a

newtype Const a (b ∷ k) #

The Const functor.

Constructors

Const 

Fields

Instances

Instances details
Monoid a ⇒ ApplicativeB (Const a ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ApplicativeB

Methods

bpure ∷ (∀ (a0 ∷ k0). f a0) → Const a f #

bprod ∷ ∀ (f ∷ k0 → Type) (g ∷ k0 → Type). Const a f → Const a g → Const a (Product f g) #

ConstraintsB (Const a ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

Associated Types

type AllB c (Const a) #

Methods

baddDicts ∷ ∀ (c ∷ k0 → Constraint) (f ∷ k0 → Type). AllB c (Const a) ⇒ Const a f → Const a (Product (Dict c) f) #

FunctorB (Const x ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.FunctorB

Methods

bmap ∷ (∀ (a ∷ k0). f a → g a) → Const x f → Const x g #

TraversableB (Const a ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.TraversableB

Methods

btraverseApplicative e ⇒ (∀ (a0 ∷ k0). f a0 → e (g a0)) → Const a f → e (Const a g) #

Generic1 (Const a ∷ k → Type) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep1 (Const a) ∷ k → Type #

Methods

from1 ∷ ∀ (a0 ∷ k0). Const a a0 → Rep1 (Const a) a0 #

to1 ∷ ∀ (a0 ∷ k0). Rep1 (Const a) a0 → Const a a0 #

FoldableWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (Void → a → m) → Const e a → m #

ifoldMap'Monoid m ⇒ (Void → a → m) → Const e a → m #

ifoldr ∷ (Void → a → b → b) → b → Const e a → b #

ifoldl ∷ (Void → b → a → b) → b → Const e a → b #

ifoldr' ∷ (Void → a → b → b) → b → Const e a → b #

ifoldl' ∷ (Void → b → a → b) → b → Const e a → b #

FunctorWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

imap ∷ (Void → a → b) → Const e a → Const e b #

TraversableWithIndex Void (Const e ∷ TypeType) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (Void → a → f b) → Const e a → f (Const e b) #

PrettyBy config a ⇒ DefaultPrettyBy config (Const a b) 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → Const a b → Doc ann #

defaultPrettyListBy ∷ config → [Const a b] → Doc ann #

PrettyDefaultBy config (Const a b) ⇒ PrettyBy config (Const a b)

Non-polykinded, because Pretty (Const a b) is not polykinded either.

>>> prettyBy () (Const 1 :: Const Integer Bool)
1
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Const a b → Doc ann #

prettyListBy ∷ config → [Const a b] → Doc ann #

Unbox a ⇒ Vector Vector (Const a b) 
Instance details

Defined in Data.Vector.Unboxed.Base

Methods

basicUnsafeFreezeMutable Vector s (Const a b) → ST s (Vector (Const a b)) #

basicUnsafeThawVector (Const a b) → ST s (Mutable Vector s (Const a b)) #

basicLengthVector (Const a b) → Int #

basicUnsafeSliceIntIntVector (Const a b) → Vector (Const a b) #

basicUnsafeIndexMVector (Const a b) → IntBox (Const a b) #

basicUnsafeCopyMutable Vector s (Const a b) → Vector (Const a b) → ST s () #

elemseqVector (Const a b) → Const a b → b0 → b0 #

Unbox a ⇒ MVector MVector (Const a b) 
Instance details

Defined in Data.Vector.Unboxed.Base

Methods

basicLengthMVector s (Const a b) → Int #

basicUnsafeSliceIntIntMVector s (Const a b) → MVector s (Const a b) #

basicOverlapsMVector s (Const a b) → MVector s (Const a b) → Bool #

basicUnsafeNewIntST s (MVector s (Const a b)) #

basicInitializeMVector s (Const a b) → ST s () #

basicUnsafeReplicateIntConst a b → ST s (MVector s (Const a b)) #

basicUnsafeReadMVector s (Const a b) → IntST s (Const a b) #

basicUnsafeWriteMVector s (Const a b) → IntConst a b → ST s () #

basicClearMVector s (Const a b) → ST s () #

basicSetMVector s (Const a b) → Const a b → ST s () #

basicUnsafeCopyMVector s (Const a b) → MVector s (Const a b) → ST s () #

basicUnsafeMoveMVector s (Const a b) → MVector s (Const a b) → ST s () #

basicUnsafeGrowMVector s (Const a b) → IntST s (MVector s (Const a b)) #

FromJSON2 (ConstTypeTypeType) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSON2Maybe a → (ValueParser a) → (ValueParser [a]) → Maybe b → (ValueParser b) → (ValueParser [b]) → ValueParser (Const a b) #

liftParseJSONList2Maybe a → (ValueParser a) → (ValueParser [a]) → Maybe b → (ValueParser b) → (ValueParser [b]) → ValueParser [Const a b] #

liftOmittedField2Maybe a → Maybe b → Maybe (Const a b) #

ToJSON2 (ConstTypeTypeType) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON2 ∷ (a → Bool) → (a → Value) → ([a] → Value) → (b → Bool) → (b → Value) → ([b] → Value) → Const a b → Value #

liftToJSONList2 ∷ (a → Bool) → (a → Value) → ([a] → Value) → (b → Bool) → (b → Value) → ([b] → Value) → [Const a b] → Value #

liftToEncoding2 ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → (b → Bool) → (b → Encoding) → ([b] → Encoding) → Const a b → Encoding #

liftToEncodingList2 ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → (b → Bool) → (b → Encoding) → ([b] → Encoding) → [Const a b] → Encoding #

liftOmitField2 ∷ (a → Bool) → (b → Bool) → Const a b → Bool #

Bifunctor (ConstTypeTypeType)

Since: base-4.8.0.0

Instance details

Defined in Data.Bifunctor

Methods

bimap ∷ (a → b) → (c → d) → Const a c → Const b d #

first ∷ (a → b) → Const a c → Const b c #

second ∷ (b → c) → Const a b → Const a c #

NFData2 (ConstTypeTypeType)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf2 ∷ (a → ()) → (b → ()) → Const a b → () #

Hashable2 (ConstTypeTypeType) 
Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt2 ∷ (Int → a → Int) → (Int → b → Int) → IntConst a b → Int #

FromJSON a ⇒ FromJSON1 (Const a ∷ TypeType) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSONMaybe a0 → (ValueParser a0) → (ValueParser [a0]) → ValueParser (Const a a0) #

liftParseJSONListMaybe a0 → (ValueParser a0) → (ValueParser [a0]) → ValueParser [Const a a0] #

liftOmittedFieldMaybe a0 → Maybe (Const a a0) #

ToJSON a ⇒ ToJSON1 (Const a ∷ TypeType) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a0 → Bool) → (a0 → Value) → ([a0] → Value) → Const a a0 → Value #

liftToJSONList ∷ (a0 → Bool) → (a0 → Value) → ([a0] → Value) → [Const a a0] → Value #

liftToEncoding ∷ (a0 → Bool) → (a0 → Encoding) → ([a0] → Encoding) → Const a a0 → Encoding #

liftToEncodingList ∷ (a0 → Bool) → (a0 → Encoding) → ([a0] → Encoding) → [Const a a0] → Encoding #

liftOmitField ∷ (a0 → Bool) → Const a a0 → Bool #

Foldable (Const m ∷ TypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Functor.Const

Methods

foldMonoid m0 ⇒ Const m m0 → m0 #

foldMapMonoid m0 ⇒ (a → m0) → Const m a → m0 #

foldMap'Monoid m0 ⇒ (a → m0) → Const m a → m0 #

foldr ∷ (a → b → b) → b → Const m a → b #

foldr' ∷ (a → b → b) → b → Const m a → b #

foldl ∷ (b → a → b) → b → Const m a → b #

foldl' ∷ (b → a → b) → b → Const m a → b #

foldr1 ∷ (a → a → a) → Const m a → a #

foldl1 ∷ (a → a → a) → Const m a → a #

toListConst m a → [a] #

nullConst m a → Bool #

lengthConst m a → Int #

elemEq a ⇒ a → Const m a → Bool #

maximumOrd a ⇒ Const m a → a #

minimumOrd a ⇒ Const m a → a #

sumNum a ⇒ Const m a → a #

productNum a ⇒ Const m a → a #

Contravariant (Const a ∷ TypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a0) → Const a a0 → Const a a' #

(>$) ∷ b → Const a b → Const a a0 #

Traversable (Const m ∷ TypeType)

Since: base-4.7.0.0

Instance details

Defined in Data.Traversable

Methods

traverseApplicative f ⇒ (a → f b) → Const m a → f (Const m b) #

sequenceAApplicative f ⇒ Const m (f a) → f (Const m a) #

mapMMonad m0 ⇒ (a → m0 b) → Const m a → m0 (Const m b) #

sequenceMonad m0 ⇒ Const m (m0 a) → m0 (Const m a) #

Monoid m ⇒ Applicative (Const m ∷ TypeType)

Since: base-2.0.1

Instance details

Defined in Data.Functor.Const

Methods

pure ∷ a → Const m a #

(<*>)Const m (a → b) → Const m a → Const m b #

liftA2 ∷ (a → b → c) → Const m a → Const m b → Const m c #

(*>)Const m a → Const m b → Const m b #

(<*)Const m a → Const m b → Const m a #

Functor (Const m ∷ TypeType)

Since: base-2.1

Instance details

Defined in Data.Functor.Const

Methods

fmap ∷ (a → b) → Const m a → Const m b #

(<$) ∷ a → Const m b → Const m a #

NFData a ⇒ NFData1 (Const a ∷ TypeType)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf ∷ (a0 → ()) → Const a a0 → () #

Hashable a ⇒ Hashable1 (Const a ∷ TypeType) 
Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a0 → Int) → IntConst a a0 → Int #

Monoid m ⇒ Applicative (Const m ∷ TypeType) 
Instance details

Defined in PlutusTx.Applicative

Methods

pure ∷ a → Const m a #

(<*>)Const m (a → b) → Const m a → Const m b #

Foldable (Const c ∷ TypeType) 
Instance details

Defined in PlutusTx.Foldable

Methods

foldr ∷ (a → b → b) → b → Const c a → b #

Functor (Const m ∷ TypeType) 
Instance details

Defined in PlutusTx.Functor

Methods

fmap ∷ (a → b) → Const m a → Const m b #

Traversable (Const c ∷ TypeType) 
Instance details

Defined in PlutusTx.Traversable

Methods

traverseApplicative f ⇒ (a → f b) → Const c a → f (Const c b) #

Filterable (Const r ∷ TypeType) 
Instance details

Defined in Witherable

Methods

mapMaybe ∷ (a → Maybe b) → Const r a → Const r b #

catMaybesConst r (Maybe a) → Const r a #

filter ∷ (a → Bool) → Const r a → Const r a #

Witherable (Const r ∷ TypeType) 
Instance details

Defined in Witherable

Methods

witherApplicative f ⇒ (a → f (Maybe b)) → Const r a → f (Const r b) #

witherMMonad m ⇒ (a → m (Maybe b)) → Const r a → m (Const r b) #

filterAApplicative f ⇒ (a → f Bool) → Const r a → f (Const r a) #

witherMapApplicative m ⇒ (Const r b → r0) → (a → m (Maybe b)) → Const r a → m r0 #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Const a b) #

parseJSONListValueParser [Const a b] #

omittedFieldMaybe (Const a b) #

(FromJSON a, FromJSONKey a) ⇒ FromJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

omitFieldConst a b → Bool #

(ToJSON a, ToJSONKey a) ⇒ ToJSONKey (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

(Typeable k, Data a, Typeable b) ⇒ Data (Const a b)

Since: base-4.10.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b0. Data d ⇒ c (d → b0) → d → c b0) → (∀ g. g → c g) → Const a b → c (Const a b) #

gunfold ∷ (∀ b0 r. Data b0 ⇒ c (b0 → r) → c r) → (∀ r. r → c r) → Constr → c (Const a b) #

toConstrConst a b → Constr #

dataTypeOfConst a b → DataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (Const a b)) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (Const a b)) #

gmapT ∷ (∀ b0. Data b0 ⇒ b0 → b0) → Const a b → Const a b #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Const a b → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Const a b → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Const a b → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Const a b → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Const a b → m (Const a b) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Const a b → m (Const a b) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Const a b → m (Const a b) #

IsString a ⇒ IsString (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Methods

fromStringStringConst a b #

Storable a ⇒ Storable (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

sizeOfConst a b → Int #

alignmentConst a b → Int #

peekElemOffPtr (Const a b) → IntIO (Const a b) #

pokeElemOffPtr (Const a b) → IntConst a b → IO () #

peekByteOffPtr b0 → IntIO (Const a b) #

pokeByteOffPtr b0 → IntConst a b → IO () #

peekPtr (Const a b) → IO (Const a b) #

pokePtr (Const a b) → Const a b → IO () #

Monoid a ⇒ Monoid (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

memptyConst a b #

mappendConst a b → Const a b → Const a b #

mconcat ∷ [Const a b] → Const a b #

Semigroup a ⇒ Semigroup (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

(<>)Const a b → Const a b → Const a b #

sconcatNonEmpty (Const a b) → Const a b #

stimesIntegral b0 ⇒ b0 → Const a b → Const a b #

Bits a ⇒ Bits (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

(.&.)Const a b → Const a b → Const a b #

(.|.)Const a b → Const a b → Const a b #

xorConst a b → Const a b → Const a b #

complementConst a b → Const a b #

shiftConst a b → IntConst a b #

rotateConst a b → IntConst a b #

zeroBitsConst a b #

bitIntConst a b #

setBitConst a b → IntConst a b #

clearBitConst a b → IntConst a b #

complementBitConst a b → IntConst a b #

testBitConst a b → IntBool #

bitSizeMaybeConst a b → Maybe Int #

bitSizeConst a b → Int #

isSignedConst a b → Bool #

shiftLConst a b → IntConst a b #

unsafeShiftLConst a b → IntConst a b #

shiftRConst a b → IntConst a b #

unsafeShiftRConst a b → IntConst a b #

rotateLConst a b → IntConst a b #

rotateRConst a b → IntConst a b #

popCountConst a b → Int #

FiniteBits a ⇒ FiniteBits (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

finiteBitSizeConst a b → Int #

countLeadingZerosConst a b → Int #

countTrailingZerosConst a b → Int #

Bounded a ⇒ Bounded (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

minBoundConst a b #

maxBoundConst a b #

Enum a ⇒ Enum (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

succConst a b → Const a b #

predConst a b → Const a b #

toEnumIntConst a b #

fromEnumConst a b → Int #

enumFromConst a b → [Const a b] #

enumFromThenConst a b → Const a b → [Const a b] #

enumFromToConst a b → Const a b → [Const a b] #

enumFromThenToConst a b → Const a b → Const a b → [Const a b] #

Floating a ⇒ Floating (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

piConst a b #

expConst a b → Const a b #

logConst a b → Const a b #

sqrtConst a b → Const a b #

(**)Const a b → Const a b → Const a b #

logBaseConst a b → Const a b → Const a b #

sinConst a b → Const a b #

cosConst a b → Const a b #

tanConst a b → Const a b #

asinConst a b → Const a b #

acosConst a b → Const a b #

atanConst a b → Const a b #

sinhConst a b → Const a b #

coshConst a b → Const a b #

tanhConst a b → Const a b #

asinhConst a b → Const a b #

acoshConst a b → Const a b #

atanhConst a b → Const a b #

log1pConst a b → Const a b #

expm1Const a b → Const a b #

log1pexpConst a b → Const a b #

log1mexpConst a b → Const a b #

RealFloat a ⇒ RealFloat (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

floatRadixConst a b → Integer #

floatDigitsConst a b → Int #

floatRangeConst a b → (Int, Int) #

decodeFloatConst a b → (Integer, Int) #

encodeFloatIntegerIntConst a b #

exponentConst a b → Int #

significandConst a b → Const a b #

scaleFloatIntConst a b → Const a b #

isNaNConst a b → Bool #

isInfiniteConst a b → Bool #

isDenormalizedConst a b → Bool #

isNegativeZeroConst a b → Bool #

isIEEEConst a b → Bool #

atan2Const a b → Const a b → Const a b #

Generic (Const a b) 
Instance details

Defined in Data.Functor.Const

Associated Types

type Rep (Const a b) ∷ TypeType #

Methods

fromConst a b → Rep (Const a b) x #

toRep (Const a b) x → Const a b #

Ix a ⇒ Ix (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

range ∷ (Const a b, Const a b) → [Const a b] #

index ∷ (Const a b, Const a b) → Const a b → Int #

unsafeIndex ∷ (Const a b, Const a b) → Const a b → Int #

inRange ∷ (Const a b, Const a b) → Const a b → Bool #

rangeSize ∷ (Const a b, Const a b) → Int #

unsafeRangeSize ∷ (Const a b, Const a b) → Int #

Num a ⇒ Num (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

(+)Const a b → Const a b → Const a b #

(-)Const a b → Const a b → Const a b #

(*)Const a b → Const a b → Const a b #

negateConst a b → Const a b #

absConst a b → Const a b #

signumConst a b → Const a b #

fromIntegerIntegerConst a b #

Read a ⇒ Read (Const a b)

This instance would be equivalent to the derived instances of the Const newtype if the getConst field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Const

Methods

readsPrecIntReadS (Const a b) #

readListReadS [Const a b] #

readPrecReadPrec (Const a b) #

readListPrecReadPrec [Const a b] #

Fractional a ⇒ Fractional (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

(/)Const a b → Const a b → Const a b #

recipConst a b → Const a b #

fromRationalRationalConst a b #

Integral a ⇒ Integral (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

quotConst a b → Const a b → Const a b #

remConst a b → Const a b → Const a b #

divConst a b → Const a b → Const a b #

modConst a b → Const a b → Const a b #

quotRemConst a b → Const a b → (Const a b, Const a b) #

divModConst a b → Const a b → (Const a b, Const a b) #

toIntegerConst a b → Integer #

Real a ⇒ Real (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

toRationalConst a b → Rational #

RealFrac a ⇒ RealFrac (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

properFractionIntegral b0 ⇒ Const a b → (b0, Const a b) #

truncateIntegral b0 ⇒ Const a b → b0 #

roundIntegral b0 ⇒ Const a b → b0 #

ceilingIntegral b0 ⇒ Const a b → b0 #

floorIntegral b0 ⇒ Const a b → b0 #

Show a ⇒ Show (Const a b)

This instance would be equivalent to the derived instances of the Const newtype if the getConst field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Const

Methods

showsPrecIntConst a b → ShowS #

showConst a b → String #

showList ∷ [Const a b] → ShowS #

FromField a ⇒ FromField (Const a b)

Since: cassava-0.5.2.0

Instance details

Defined in Data.Csv.Conversion

Methods

parseFieldFieldParser (Const a b) #

ToField a ⇒ ToField (Const a b)

Since: cassava-0.5.2.0

Instance details

Defined in Data.Csv.Conversion

Methods

toFieldConst a b → Field #

NFData a ⇒ NFData (Const a b)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnfConst a b → () #

Eq a ⇒ Eq (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

(==)Const a b → Const a b → Bool #

(/=)Const a b → Const a b → Bool #

Ord a ⇒ Ord (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

Methods

compareConst a b → Const a b → Ordering #

(<)Const a b → Const a b → Bool #

(<=)Const a b → Const a b → Bool #

(>)Const a b → Const a b → Bool #

(>=)Const a b → Const a b → Bool #

maxConst a b → Const a b → Const a b #

minConst a b → Const a b → Const a b #

Abelian a ⇒ Abelian (Const a x) 
Instance details

Defined in Data.Group

Cyclic a ⇒ Cyclic (Const a x) 
Instance details

Defined in Data.Group

Methods

generatorConst a x #

Group a ⇒ Group (Const a x)

Const lifts groups into a functor.

Instance details

Defined in Data.Group

Methods

invertConst a x → Const a x #

(~~)Const a x → Const a x → Const a x #

powIntegral x0 ⇒ Const a x → x0 → Const a x #

Hashable a ⇒ Hashable (Const a b) 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntConst a b → Int #

hashConst a b → Int #

FromFormKey a ⇒ FromFormKey (Const a b)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

parseFormKeyTextEither Text (Const a b) #

ToFormKey a ⇒ ToFormKey (Const a b)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormKeyConst a b → Text #

FromHttpApiData a ⇒ FromHttpApiData (Const a b)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.HttpApiData

ToHttpApiData a ⇒ ToHttpApiData (Const a b)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.HttpApiData

Wrapped (Const a x) 
Instance details

Defined in Control.Lens.Wrapped

Associated Types

type Unwrapped (Const a x) #

Methods

_Wrapped'Iso' (Const a x) (Unwrapped (Const a x)) #

MonoFoldable (Const m a) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m0 ⇒ (Element (Const m a) → m0) → Const m a → m0 #

ofoldr ∷ (Element (Const m a) → b → b) → b → Const m a → b #

ofoldl' ∷ (a0 → Element (Const m a) → a0) → a0 → Const m a → a0 #

otoListConst m a → [Element (Const m a)] #

oall ∷ (Element (Const m a) → Bool) → Const m a → Bool #

oany ∷ (Element (Const m a) → Bool) → Const m a → Bool #

onullConst m a → Bool #

olengthConst m a → Int #

olength64Const m a → Int64 #

ocompareLengthIntegral i ⇒ Const m a → i → Ordering #

otraverse_Applicative f ⇒ (Element (Const m a) → f b) → Const m a → f () #

ofor_Applicative f ⇒ Const m a → (Element (Const m a) → f b) → f () #

omapM_Applicative m0 ⇒ (Element (Const m a) → m0 ()) → Const m a → m0 () #

oforM_Applicative m0 ⇒ Const m a → (Element (Const m a) → m0 ()) → m0 () #

ofoldlMMonad m0 ⇒ (a0 → Element (Const m a) → m0 a0) → a0 → Const m a → m0 a0 #

ofoldMap1ExSemigroup m0 ⇒ (Element (Const m a) → m0) → Const m a → m0 #

ofoldr1Ex ∷ (Element (Const m a) → Element (Const m a) → Element (Const m a)) → Const m a → Element (Const m a) #

ofoldl1Ex' ∷ (Element (Const m a) → Element (Const m a) → Element (Const m a)) → Const m a → Element (Const m a) #

headExConst m a → Element (Const m a) #

lastExConst m a → Element (Const m a) #

unsafeHeadConst m a → Element (Const m a) #

unsafeLastConst m a → Element (Const m a) #

maximumByEx ∷ (Element (Const m a) → Element (Const m a) → Ordering) → Const m a → Element (Const m a) #

minimumByEx ∷ (Element (Const m a) → Element (Const m a) → Ordering) → Const m a → Element (Const m a) #

oelemElement (Const m a) → Const m a → Bool #

onotElemElement (Const m a) → Const m a → Bool #

MonoFunctor (Const m a) 
Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element (Const m a) → Element (Const m a)) → Const m a → Const m a #

Monoid m ⇒ MonoPointed (Const m a) 
Instance details

Defined in Data.MonoTraversable

Methods

opointElement (Const m a) → Const m a #

MonoTraversable (Const m a) 
Instance details

Defined in Data.MonoTraversable

Methods

otraverseApplicative f ⇒ (Element (Const m a) → f (Element (Const m a))) → Const m a → f (Const m a) #

omapMApplicative m0 ⇒ (Element (Const m a) → m0 (Element (Const m a))) → Const m a → m0 (Const m a) #

Newtype (Const a x) 
Instance details

Defined in Control.Newtype.Generics

Associated Types

type O (Const a x) #

Methods

packO (Const a x) → Const a x #

unpackConst a x → O (Const a x) #

FromField a ⇒ FromField (Const a b) 
Instance details

Defined in Database.PostgreSQL.Simple.FromField

Methods

fromFieldFieldParser (Const a b) #

ToField a ⇒ ToField (Const a b) 
Instance details

Defined in Database.PostgreSQL.Simple.ToField

Methods

toFieldConst a b → Action #

Pretty a ⇒ Pretty (Const a b) 
Instance details

Defined in Prettyprinter.Internal

Methods

prettyConst a b → Doc ann #

prettyList ∷ [Const a b] → Doc ann #

ToSample a ⇒ ToSample (Const a b) 
Instance details

Defined in Servant.Docs.Internal

Methods

toSamplesProxy (Const a b) → [(Text, Const a b)] #

Unbox a ⇒ Unbox (Const a b) 
Instance details

Defined in Data.Vector.Unboxed.Base

t ~ Const a' x' ⇒ Rewrapped (Const a x) t 
Instance details

Defined in Control.Lens.Wrapped

type AllB (c ∷ k → Constraint) (Const a ∷ (k → Type) → Type) 
Instance details

Defined in Barbies.Internal.ConstraintsB

type AllB (c ∷ k → Constraint) (Const a ∷ (k → Type) → Type) = ()
type Rep1 (Const a ∷ k → Type)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

type Rep1 (Const a ∷ k → Type) = D1 ('MetaData "Const" "Data.Functor.Const" "base" 'True) (C1 ('MetaCons "Const" 'PrefixI 'True) (S1 ('MetaSel ('Just "getConst") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))
newtype MVector s (Const a b) 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype MVector s (Const a b) = MV_Const (MVector s a)
type Rep (Const a b)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Const

type Rep (Const a b) = D1 ('MetaData "Const" "Data.Functor.Const" "base" 'True) (C1 ('MetaCons "Const" 'PrefixI 'True) (S1 ('MetaSel ('Just "getConst") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))
type Code (Const a b) 
Instance details

Defined in Generics.SOP.Instances

type Code (Const a b) = '['[a]]
type DatatypeInfoOf (Const a b) 
Instance details

Defined in Generics.SOP.Instances

type DatatypeInfoOf (Const a b) = 'Newtype "Data.Functor.Const" "Const" ('Record "Const" '['FieldInfo "getConst"])
type Unwrapped (Const a x) 
Instance details

Defined in Control.Lens.Wrapped

type Unwrapped (Const a x) = a
type Element (Const m a) 
Instance details

Defined in Data.MonoTraversable

type Element (Const m a) = a
type O (Const a x) 
Instance details

Defined in Control.Newtype.Generics

type O (Const a x) = a
newtype Vector (Const a b) 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype Vector (Const a b) = V_Const (Vector a)

class (Typeable e, Show e) ⇒ Exception e #

Any type that you wish to throw or catch as an exception must be an instance of the Exception class. The simplest case is a new exception type directly below the root:

data MyException = ThisException | ThatException
    deriving Show

instance Exception MyException

The default method definitions in the Exception class do what we need in this case. You can now throw and catch ThisException and ThatException as exceptions:

*Main> throw ThisException `catch` \e -> putStrLn ("Caught " ++ show (e :: MyException))
Caught ThisException

In more complicated examples, you may wish to define a whole hierarchy of exceptions:

---------------------------------------------------------------------
-- Make the root exception type for all the exceptions in a compiler

data SomeCompilerException = forall e . Exception e => SomeCompilerException e

instance Show SomeCompilerException where
    show (SomeCompilerException e) = show e

instance Exception SomeCompilerException

compilerExceptionToException :: Exception e => e -> SomeException
compilerExceptionToException = toException . SomeCompilerException

compilerExceptionFromException :: Exception e => SomeException -> Maybe e
compilerExceptionFromException x = do
    SomeCompilerException a <- fromException x
    cast a

---------------------------------------------------------------------
-- Make a subhierarchy for exceptions in the frontend of the compiler

data SomeFrontendException = forall e . Exception e => SomeFrontendException e

instance Show SomeFrontendException where
    show (SomeFrontendException e) = show e

instance Exception SomeFrontendException where
    toException = compilerExceptionToException
    fromException = compilerExceptionFromException

frontendExceptionToException :: Exception e => e -> SomeException
frontendExceptionToException = toException . SomeFrontendException

frontendExceptionFromException :: Exception e => SomeException -> Maybe e
frontendExceptionFromException x = do
    SomeFrontendException a <- fromException x
    cast a

---------------------------------------------------------------------
-- Make an exception type for a particular frontend compiler exception

data MismatchedParentheses = MismatchedParentheses
    deriving Show

instance Exception MismatchedParentheses where
    toException   = frontendExceptionToException
    fromException = frontendExceptionFromException

We can now catch a MismatchedParentheses exception as MismatchedParentheses, SomeFrontendException or SomeCompilerException, but not other types, e.g. IOException:

*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: MismatchedParentheses))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: SomeFrontendException))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: SomeCompilerException))
Caught MismatchedParentheses
*Main> throw MismatchedParentheses `catch` \e -> putStrLn ("Caught " ++ show (e :: IOException))
*** Exception: MismatchedParentheses

Instances

Instances details
Exception AesonException 
Instance details

Defined in Data.Aeson.Types.Internal

Exception AsyncCancelled 
Instance details

Defined in Control.Concurrent.Async.Internal

Exception ExceptionInLinkedThread 
Instance details

Defined in Control.Concurrent.Async.Internal

Exception CardanoQueryException # 
Instance details

Defined in GeniusYield.CardanoApi.Query

Exception GYApiError # 
Instance details

Defined in GeniusYield.HTTP.Errors

Exception SubmitTxException # 
Instance details

Defined in GeniusYield.Providers.Common

Exception GYTxMonadException # 
Instance details

Defined in GeniusYield.TxBuilder.Errors

Exception GYAwaitTxException # 
Instance details

Defined in GeniusYield.Types.Providers

Exception NestedAtomically

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception NoMatchingContinuationPrompt

Since: base-4.18

Instance details

Defined in Control.Exception.Base

Exception NoMethodError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception NonTermination

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception PatternMatchFail

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecConError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecSelError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception RecUpdError

Since: base-4.0

Instance details

Defined in Control.Exception.Base

Exception TypeError

Since: base-4.9.0.0

Instance details

Defined in Control.Exception.Base

Exception Void

Since: base-4.8.0.0

Instance details

Defined in GHC.Exception.Type

Exception ArithException

Since: base-4.0.0.0

Instance details

Defined in GHC.Exception.Type

Exception SomeException

Since: base-3.0

Instance details

Defined in GHC.Exception.Type

Exception AllocationLimitExceeded

Since: base-4.8.0.0

Instance details

Defined in GHC.IO.Exception

Exception ArrayException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception AssertionFailed

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception AsyncException

Since: base-4.7.0.0

Instance details

Defined in GHC.IO.Exception

Exception BlockedIndefinitelyOnMVar

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception BlockedIndefinitelyOnSTM

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception CompactionFailed

Since: base-4.10.0.0

Instance details

Defined in GHC.IO.Exception

Exception Deadlock

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception ExitCode

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception FixIOException

Since: base-4.11.0.0

Instance details

Defined in GHC.IO.Exception

Exception IOException

Since: base-4.1.0.0

Instance details

Defined in GHC.IO.Exception

Exception SomeAsyncException

Since: base-4.7.0.0

Instance details

Defined in GHC.IO.Exception

Exception ASCII7_Invalid 
Instance details

Defined in Basement.String.Encoding.ASCII7

Methods

toException ∷ ASCII7_Invalid → SomeException #

fromExceptionSomeExceptionMaybe ASCII7_Invalid #

displayException ∷ ASCII7_Invalid → String #

Exception ISO_8859_1_Invalid 
Instance details

Defined in Basement.String.Encoding.ISO_8859_1

Methods

toException ∷ ISO_8859_1_Invalid → SomeException #

fromExceptionSomeExceptionMaybe ISO_8859_1_Invalid #

displayException ∷ ISO_8859_1_Invalid → String #

Exception UTF16_Invalid 
Instance details

Defined in Basement.String.Encoding.UTF16

Methods

toException ∷ UTF16_Invalid → SomeException #

fromExceptionSomeExceptionMaybe UTF16_Invalid #

displayException ∷ UTF16_Invalid → String #

Exception UTF32_Invalid 
Instance details

Defined in Basement.String.Encoding.UTF32

Methods

toException ∷ UTF32_Invalid → SomeException #

fromExceptionSomeExceptionMaybe UTF32_Invalid #

displayException ∷ UTF32_Invalid → String #

Exception HumanReadablePartError 
Instance details

Defined in Codec.Binary.Bech32.Internal

Exception BimapException 
Instance details

Defined in Data.Bimap

Methods

toException ∷ BimapException → SomeException #

fromExceptionSomeExceptionMaybe BimapException #

displayException ∷ BimapException → String #

Exception ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Byron

Exception ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Icarus

Exception ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

Exception ErrInspectAddressOnlyShelley 
Instance details

Defined in Cardano.Address.Style.Shelley

Exception ErrorAsException 
Instance details

Defined in Cardano.Api.Error

Methods

toException ∷ ErrorAsException → SomeException #

fromExceptionSomeExceptionMaybe ErrorAsException #

displayException ∷ ErrorAsException → String #

Exception AlonzoGenesisError 
Instance details

Defined in Cardano.Api.LedgerState

Methods

toException ∷ AlonzoGenesisError → SomeException #

fromExceptionSomeExceptionMaybe AlonzoGenesisError #

displayException ∷ AlonzoGenesisError → String #

Exception ConwayGenesisError 
Instance details

Defined in Cardano.Api.LedgerState

Methods

toException ∷ ConwayGenesisError → SomeException #

fromExceptionSomeExceptionMaybe ConwayGenesisError #

displayException ∷ ConwayGenesisError → String #

Exception GenesisConfigError 
Instance details

Defined in Cardano.Api.LedgerState

Exception InitialLedgerStateError 
Instance details

Defined in Cardano.Api.LedgerState

Exception LedgerStateError 
Instance details

Defined in Cardano.Api.LedgerState

Exception ShelleyGenesisError 
Instance details

Defined in Cardano.Api.LedgerState

Methods

toException ∷ ShelleyGenesisError → SomeException #

fromExceptionSomeExceptionMaybe ShelleyGenesisError #

displayException ∷ ShelleyGenesisError → String #

Exception DecoderError 
Instance details

Defined in Cardano.Binary.FromCBOR

Exception SeedBytesExhausted 
Instance details

Defined in Cardano.Crypto.Seed

Exception EpochErr 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toException ∷ EpochErr → SomeException #

fromExceptionSomeExceptionMaybe EpochErr #

displayException ∷ EpochErr → String #

Exception SocketConfigError 
Instance details

Defined in Cardano.Node.Configuration.Socket

Exception ConfigError 
Instance details

Defined in Cardano.Node.Types

Exception VRFPrivateKeyFilePermissionError 
Instance details

Defined in Cardano.Node.Types

Exception DeserialiseFailure 
Instance details

Defined in Codec.CBOR.Read

Exception CryptoError 
Instance details

Defined in Crypto.Error.Types

Exception CryptoError 
Instance details

Defined in Crypto.Error.Types

Exception DNSError 
Instance details

Defined in Network.DNS.Types.Internal

Exception FsError 
Instance details

Defined in System.FS.API.Types

Exception EncapsulatedPopperException 
Instance details

Defined in Network.HTTP.Client.Request

Methods

toException ∷ EncapsulatedPopperException → SomeException #

fromExceptionSomeExceptionMaybe EncapsulatedPopperException #

displayException ∷ EncapsulatedPopperException → String #

Exception HttpException 
Instance details

Defined in Network.HTTP.Client.Types

Exception HttpExceptionContentWrapper 
Instance details

Defined in Network.HTTP.Client.Types

Methods

toException ∷ HttpExceptionContentWrapper → SomeException #

fromExceptionSomeExceptionMaybe HttpExceptionContentWrapper #

displayException ∷ HttpExceptionContentWrapper → String #

Exception DigestAuthException 
Instance details

Defined in Network.HTTP.Client.TLS

Exception ExceptionInLinkedThread 
Instance details

Defined in Control.Monad.Class.MonadAsync

Exception BlockedIndefinitely 
Instance details

Defined in Control.Monad.Class.MonadSTM.Internal

Methods

toException ∷ BlockedIndefinitely → SomeException #

fromExceptionSomeExceptionMaybe BlockedIndefinitely #

displayException ∷ BlockedIndefinitely → String #

Exception GenericBackendFailure 
Instance details

Defined in Cardano.BM.Data.Backend

Exception MaestroError 
Instance details

Defined in Maestro.Client.Error

Exception InvalidPosException 
Instance details

Defined in Text.Megaparsec.Pos

Exception MuxError 
Instance details

Defined in Network.Mux.Trace

Exception MuxRuntimeError 
Instance details

Defined in Network.Mux.Types

Exception HardForkEncoderException 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Serialisation.Common

Exception PastHorizonException 
Instance details

Defined in Ouroboros.Consensus.HardFork.History.Qry

Exception ChainSyncClientException 
Instance details

Defined in Ouroboros.Consensus.MiniProtocol.ChainSync.Client

Exception ChunkAssertionFailure 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.Chunks.Internal

Exception FuseBlownException 
Instance details

Defined in Ouroboros.Consensus.Util

Exception RegistryClosedException 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Exception ResourceRegistryThreadException 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Exception TempRegistryException 
Instance details

Defined in Ouroboros.Consensus.Util.ResourceRegistry

Exception ShelleyReapplyException 
Instance details

Defined in Ouroboros.Consensus.Shelley.Ledger.Ledger

Exception TxSubmissionProtocolError 
Instance details

Defined in Ouroboros.Network.TxSubmission.Inbound

Exception KeepAliveProtocolFailure 
Instance details

Defined in Ouroboros.Network.Protocol.KeepAlive.Type

Exception FreeVariableError 
Instance details

Defined in PlutusCore.DeBruijn.Internal

Exception ApplyProgramError 
Instance details

Defined in PlutusCore.Error

Exception CostModelApplyError 
Instance details

Defined in PlutusCore.Evaluation.Machine.CostModelInterface

Exception ScriptDecodeError 
Instance details

Defined in PlutusLedgerApi.Common.SerialisedScript

Exception LedgerBytesError 
Instance details

Defined in PlutusLedgerApi.V1.Bytes

Exception ImpossibleDeserialisationFailure 
Instance details

Defined in PlutusTx.Code

Exception ResultError 
Instance details

Defined in Database.PostgreSQL.Simple.FromField

Exception FormatError 
Instance details

Defined in Database.PostgreSQL.Simple.Internal

Exception QueryError 
Instance details

Defined in Database.PostgreSQL.Simple.Internal

Exception SomePostgreSqlException 
Instance details

Defined in Database.PostgreSQL.Simple.Internal

Exception SqlError 
Instance details

Defined in Database.PostgreSQL.Simple.Internal

Exception ManyErrors 
Instance details

Defined in Database.PostgreSQL.Simple.Ok

Exception InvalidAccess 
Instance details

Defined in Control.Monad.Trans.Resource.Internal

Exception ResourceCleanupException 
Instance details

Defined in Control.Monad.Trans.Resource.Internal

Exception InvalidBaseUrlException 
Instance details

Defined in Servant.Client.Core.BaseUrl

Exception ClientError 
Instance details

Defined in Servant.Client.Core.ClientError

Exception AssertionException 
Instance details

Defined in Control.State.Transition.Extended

Exception EscapeSnap 
Instance details

Defined in Snap.Internal.Core

Exception NoHandlerException 
Instance details

Defined in Snap.Internal.Core

Exception ResourceError 
Instance details

Defined in Test.Tasty.Core

Methods

toException ∷ ResourceError → SomeException #

fromExceptionSomeExceptionMaybe ResourceError #

displayException ∷ ResourceError → String #

Exception HUnitFailure 
Instance details

Defined in Test.Tasty.HUnit.Orig

Exception UnicodeException 
Instance details

Defined in Data.Text.Encoding.Error

Exception ConcException 
Instance details

Defined in UnliftIO.Internals.Async

Exception DecompressError 
Instance details

Defined in Codec.Compression.Zlib.Internal

KnownNat csz ⇒ Exception (MnemonicException csz) 
Instance details

Defined in Cardano.Mnemonic

(Typeable blk, Show (SomeSecond BlockQuery blk)) ⇒ Exception (QueryEncoderException blk) 
Instance details

Defined in Ouroboros.Consensus.Ledger.Query

Methods

toException ∷ QueryEncoderException blk → SomeException #

fromExceptionSomeExceptionMaybe (QueryEncoderException blk) #

displayException ∷ QueryEncoderException blk → String #

(Typeable blk, StandardHash blk) ⇒ Exception (ChainDbError blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.API

(Typeable blk, StandardHash blk) ⇒ Exception (ChainDbFailure blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ChainDB.API

(StandardHash blk, Typeable blk) ⇒ Exception (ImmutableDBError blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.ImmutableDB.API

(StandardHash blk, Typeable blk) ⇒ Exception (VolatileDBError blk) 
Instance details

Defined in Ouroboros.Consensus.Storage.VolatileDB.API

(Typeable vNumber, Show vNumber) ⇒ Exception (HandshakeProtocolError vNumber) 
Instance details

Defined in Ouroboros.Network.Protocol.Handshake.Type

(Typeable vNumber, Show vNumber) ⇒ Exception (RefuseReason vNumber) 
Instance details

Defined in Ouroboros.Network.Protocol.Handshake.Type

Exception (UniqueError SrcSpan) 
Instance details

Defined in PlutusCore.Error

(Show s, Show (Token s), Show e, ShowErrorComponent e, VisualStream s, Typeable s, Typeable e) ⇒ Exception (ParseError s e) 
Instance details

Defined in Text.Megaparsec.Error

(Show s, Show (Token s), Show e, ShowErrorComponent e, VisualStream s, TraversableStream s, Typeable s, Typeable e) ⇒ Exception (ParseErrorBundle s e) 
Instance details

Defined in Text.Megaparsec.Error

(Typeable era, Typeable proto) ⇒ Exception (ShelleyEncoderException era proto) 
Instance details

Defined in Ouroboros.Consensus.Shelley.Node.Serialisation

Methods

toException ∷ ShelleyEncoderException era proto → SomeException #

fromExceptionSomeExceptionMaybe (ShelleyEncoderException era proto) #

displayException ∷ ShelleyEncoderException era proto → String #

(PrettyPlc cause, PrettyPlc err, Typeable cause, Typeable err) ⇒ Exception (ErrorWithCause err cause) 
Instance details

Defined in PlutusCore.Evaluation.ErrorWithCause

(ThrowableBuiltins uni fun, Pretty ann, Typeable ann) ⇒ Exception (Error uni fun ann) 
Instance details

Defined in PlutusIR.Error

Methods

toException ∷ Error uni fun ann → SomeException #

fromExceptionSomeExceptionMaybe (Error uni fun ann) #

displayException ∷ Error uni fun ann → String #

newtype Identity a #

Identity functor and monad. (a non-strict monad)

Since: base-4.8.0.0

Constructors

Identity 

Fields

Instances

Instances details
Representable Identity 
Instance details

Defined in Data.Functor.Rep

Associated Types

type Rep Identity #

Methods

tabulate ∷ (Rep Identity → a) → Identity a #

indexIdentity a → Rep Identity → a #

FromJSON1 Identity 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSONMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser (Identity a) #

liftParseJSONListMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser [Identity a] #

liftOmittedFieldMaybe a → Maybe (Identity a) #

ToJSON1 Identity 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a → Bool) → (a → Value) → ([a] → Value) → Identity a → Value #

liftToJSONList ∷ (a → Bool) → (a → Value) → ([a] → Value) → [Identity a] → Value #

liftToEncoding ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → Identity a → Encoding #

liftToEncodingList ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → [Identity a] → Encoding #

liftOmitField ∷ (a → Bool) → Identity a → Bool #

MonadFix Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

mfix ∷ (a → Identity a) → Identity a #

Foldable Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

foldMonoid m ⇒ Identity m → m #

foldMapMonoid m ⇒ (a → m) → Identity a → m #

foldMap'Monoid m ⇒ (a → m) → Identity a → m #

foldr ∷ (a → b → b) → b → Identity a → b #

foldr' ∷ (a → b → b) → b → Identity a → b #

foldl ∷ (b → a → b) → b → Identity a → b #

foldl' ∷ (b → a → b) → b → Identity a → b #

foldr1 ∷ (a → a → a) → Identity a → a #

foldl1 ∷ (a → a → a) → Identity a → a #

toListIdentity a → [a] #

nullIdentity a → Bool #

lengthIdentity a → Int #

elemEq a ⇒ a → Identity a → Bool #

maximumOrd a ⇒ Identity a → a #

minimumOrd a ⇒ Identity a → a #

sumNum a ⇒ Identity a → a #

productNum a ⇒ Identity a → a #

Foldable Node 
Instance details

Defined in Hedgehog.Internal.Tree

Methods

foldMonoid m ⇒ Node m → m #

foldMapMonoid m ⇒ (a → m) → Node a → m #

foldMap'Monoid m ⇒ (a → m) → Node a → m #

foldr ∷ (a → b → b) → b → Node a → b #

foldr' ∷ (a → b → b) → b → Node a → b #

foldl ∷ (b → a → b) → b → Node a → b #

foldl' ∷ (b → a → b) → b → Node a → b #

foldr1 ∷ (a → a → a) → Node a → a #

foldl1 ∷ (a → a → a) → Node a → a #

toListNode a → [a] #

nullNode a → Bool #

lengthNode a → Int #

elemEq a ⇒ a → Node a → Bool #

maximumOrd a ⇒ Node a → a #

minimumOrd a ⇒ Node a → a #

sumNum a ⇒ Node a → a #

productNum a ⇒ Node a → a #

Foldable Tree 
Instance details

Defined in Hedgehog.Internal.Tree

Methods

foldMonoid m ⇒ Tree m → m #

foldMapMonoid m ⇒ (a → m) → Tree a → m #

foldMap'Monoid m ⇒ (a → m) → Tree a → m #

foldr ∷ (a → b → b) → b → Tree a → b #

foldr' ∷ (a → b → b) → b → Tree a → b #

foldl ∷ (b → a → b) → b → Tree a → b #

foldl' ∷ (b → a → b) → b → Tree a → b #

foldr1 ∷ (a → a → a) → Tree a → a #

foldl1 ∷ (a → a → a) → Tree a → a #

toListTree a → [a] #

nullTree a → Bool #

lengthTree a → Int #

elemEq a ⇒ a → Tree a → Bool #

maximumOrd a ⇒ Tree a → a #

minimumOrd a ⇒ Tree a → a #

sumNum a ⇒ Tree a → a #

productNum a ⇒ Tree a → a #

Traversable Identity

Since: base-4.9.0.0

Instance details

Defined in Data.Traversable

Methods

traverseApplicative f ⇒ (a → f b) → Identity a → f (Identity b) #

sequenceAApplicative f ⇒ Identity (f a) → f (Identity a) #

mapMMonad m ⇒ (a → m b) → Identity a → m (Identity b) #

sequenceMonad m ⇒ Identity (m a) → m (Identity a) #

Traversable Node 
Instance details

Defined in Hedgehog.Internal.Tree

Methods

traverseApplicative f ⇒ (a → f b) → Node a → f (Node b) #

sequenceAApplicative f ⇒ Node (f a) → f (Node a) #

mapMMonad m ⇒ (a → m b) → Node a → m (Node b) #

sequenceMonad m ⇒ Node (m a) → m (Node a) #

Traversable Tree 
Instance details

Defined in Hedgehog.Internal.Tree

Methods

traverseApplicative f ⇒ (a → f b) → Tree a → f (Tree b) #

sequenceAApplicative f ⇒ Tree (f a) → f (Tree a) #

mapMMonad m ⇒ (a → m b) → Tree a → m (Tree b) #

sequenceMonad m ⇒ Tree (m a) → m (Tree a) #

Applicative Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

pure ∷ a → Identity a #

(<*>)Identity (a → b) → Identity a → Identity b #

liftA2 ∷ (a → b → c) → Identity a → Identity b → Identity c #

(*>)Identity a → Identity b → Identity b #

(<*)Identity a → Identity b → Identity a #

Functor Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

fmap ∷ (a → b) → Identity a → Identity b #

(<$) ∷ a → Identity b → Identity a #

Monad Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(>>=)Identity a → (a → Identity b) → Identity b #

(>>)Identity a → Identity b → Identity b #

return ∷ a → Identity a #

HKDFunctor Identity 
Instance details

Defined in Cardano.Ledger.HKD

Methods

hkdMap ∷ proxy Identity → (a → b) → HKD Identity a → HKD Identity b #

toNoUpdateHKD Identity a → HKDNoUpdate Identity a #

fromNoUpdateHKDNoUpdate Identity a → HKD Identity a #

NFData1 Identity

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf ∷ (a → ()) → Identity a → () #

Distributive Identity 
Instance details

Defined in Data.Distributive

Methods

distributeFunctor f ⇒ f (Identity a) → Identity (f a) #

collectFunctor f ⇒ (a → Identity b) → f a → Identity (f b) #

distributeMMonad m ⇒ m (Identity a) → Identity (m a) #

collectMMonad m ⇒ (a → Identity b) → m a → Identity (m b) #

Hashable1 Identity 
Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a → Int) → IntIdentity a → Int #

Settable Identity

So you can pass our Setter into combinators from other lens libraries.

Instance details

Defined in Control.Lens.Internal.Setter

Methods

untaintedIdentity a → a #

untaintedDotProfunctor p ⇒ p a (Identity b) → p a b #

taintedDotProfunctor p ⇒ p a b → p a (Identity b) #

Applicative Identity 
Instance details

Defined in PlutusTx.Applicative

Methods

pure ∷ a → Identity a #

(<*>)Identity (a → b) → Identity a → Identity b #

Foldable Identity 
Instance details

Defined in PlutusTx.Foldable

Methods

foldr ∷ (a → b → b) → b → Identity a → b #

Functor Identity 
Instance details

Defined in PlutusTx.Functor

Methods

fmap ∷ (a → b) → Identity a → Identity b #

Traversable Identity 
Instance details

Defined in PlutusTx.Traversable

Methods

traverseApplicative f ⇒ (a → f b) → Identity a → f (Identity b) #

Generic1 Identity 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep1 Identity ∷ k → Type #

Methods

from1 ∷ ∀ (a ∷ k). Identity a → Rep1 Identity a #

to1 ∷ ∀ (a ∷ k). Rep1 Identity a → Identity a #

FoldableWithIndex () Identity 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (() → a → m) → Identity a → m #

ifoldMap'Monoid m ⇒ (() → a → m) → Identity a → m #

ifoldr ∷ (() → a → b → b) → b → Identity a → b #

ifoldl ∷ (() → b → a → b) → b → Identity a → b #

ifoldr' ∷ (() → a → b → b) → b → Identity a → b #

ifoldl' ∷ (() → b → a → b) → b → Identity a → b #

FunctorWithIndex () Identity 
Instance details

Defined in WithIndex

Methods

imap ∷ (() → a → b) → Identity a → Identity b #

TraversableWithIndex () Identity 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (() → a → f b) → Identity a → f (Identity b) #

MonadBaseControl Identity Identity 
Instance details

Defined in Control.Monad.Trans.Control

Associated Types

type StM Identity a #

Cosieve ReifiedGetter Identity 
Instance details

Defined in Control.Lens.Reified

Methods

cosieveReifiedGetter a b → Identity a → b #

Sieve ReifiedGetter Identity 
Instance details

Defined in Control.Lens.Reified

Methods

sieveReifiedGetter a b → a → Identity b #

PrettyBy config a ⇒ DefaultPrettyBy config (Identity a) 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → Identity a → Doc ann #

defaultPrettyListBy ∷ config → [Identity a] → Doc ann #

PrettyDefaultBy config (Identity a) ⇒ PrettyBy config (Identity a)
>>> prettyBy () (Identity True)
True
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → Identity a → Doc ann #

prettyListBy ∷ config → [Identity a] → Doc ann #

Unbox a ⇒ Vector Vector (Identity a) 
Instance details

Defined in Data.Vector.Unboxed.Base

Unbox a ⇒ MVector MVector (Identity a) 
Instance details

Defined in Data.Vector.Unboxed.Base

Methods

basicLengthMVector s (Identity a) → Int #

basicUnsafeSliceIntIntMVector s (Identity a) → MVector s (Identity a) #

basicOverlapsMVector s (Identity a) → MVector s (Identity a) → Bool #

basicUnsafeNewIntST s (MVector s (Identity a)) #

basicInitializeMVector s (Identity a) → ST s () #

basicUnsafeReplicateIntIdentity a → ST s (MVector s (Identity a)) #

basicUnsafeReadMVector s (Identity a) → IntST s (Identity a) #

basicUnsafeWriteMVector s (Identity a) → IntIdentity a → ST s () #

basicClearMVector s (Identity a) → ST s () #

basicSetMVector s (Identity a) → Identity a → ST s () #

basicUnsafeCopyMVector s (Identity a) → MVector s (Identity a) → ST s () #

basicUnsafeMoveMVector s (Identity a) → MVector s (Identity a) → ST s () #

basicUnsafeGrowMVector s (Identity a) → IntST s (MVector s (Identity a)) #

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

FromJSONKey a ⇒ FromJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSONKey a ⇒ ToJSONKey (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Data a ⇒ Data (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Identity a → c (Identity a) #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c (Identity a) #

toConstrIdentity a → Constr #

dataTypeOfIdentity a → DataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (Identity a)) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (Identity a)) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Identity a → Identity a #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Identity a → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Identity a → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Identity a → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Identity a → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Identity a → m (Identity a) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Identity a → m (Identity a) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Identity a → m (Identity a) #

IsString a ⇒ IsString (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.String

Methods

fromStringStringIdentity a #

Storable a ⇒ Storable (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

sizeOfIdentity a → Int #

alignmentIdentity a → Int #

peekElemOffPtr (Identity a) → IntIO (Identity a) #

pokeElemOffPtr (Identity a) → IntIdentity a → IO () #

peekByteOffPtr b → IntIO (Identity a) #

pokeByteOffPtr b → IntIdentity a → IO () #

peekPtr (Identity a) → IO (Identity a) #

pokePtr (Identity a) → Identity a → IO () #

Monoid a ⇒ Monoid (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

memptyIdentity a #

mappendIdentity a → Identity a → Identity a #

mconcat ∷ [Identity a] → Identity a #

Semigroup a ⇒ Semigroup (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(<>)Identity a → Identity a → Identity a #

sconcatNonEmpty (Identity a) → Identity a #

stimesIntegral b ⇒ b → Identity a → Identity a #

Bits a ⇒ Bits (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(.&.)Identity a → Identity a → Identity a #

(.|.)Identity a → Identity a → Identity a #

xorIdentity a → Identity a → Identity a #

complementIdentity a → Identity a #

shiftIdentity a → IntIdentity a #

rotateIdentity a → IntIdentity a #

zeroBitsIdentity a #

bitIntIdentity a #

setBitIdentity a → IntIdentity a #

clearBitIdentity a → IntIdentity a #

complementBitIdentity a → IntIdentity a #

testBitIdentity a → IntBool #

bitSizeMaybeIdentity a → Maybe Int #

bitSizeIdentity a → Int #

isSignedIdentity a → Bool #

shiftLIdentity a → IntIdentity a #

unsafeShiftLIdentity a → IntIdentity a #

shiftRIdentity a → IntIdentity a #

unsafeShiftRIdentity a → IntIdentity a #

rotateLIdentity a → IntIdentity a #

rotateRIdentity a → IntIdentity a #

popCountIdentity a → Int #

FiniteBits a ⇒ FiniteBits (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Bounded a ⇒ Bounded (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

minBoundIdentity a #

maxBoundIdentity a #

Enum a ⇒ Enum (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

succIdentity a → Identity a #

predIdentity a → Identity a #

toEnumIntIdentity a #

fromEnumIdentity a → Int #

enumFromIdentity a → [Identity a] #

enumFromThenIdentity a → Identity a → [Identity a] #

enumFromToIdentity a → Identity a → [Identity a] #

enumFromThenToIdentity a → Identity a → Identity a → [Identity a] #

Floating a ⇒ Floating (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

piIdentity a #

expIdentity a → Identity a #

logIdentity a → Identity a #

sqrtIdentity a → Identity a #

(**)Identity a → Identity a → Identity a #

logBaseIdentity a → Identity a → Identity a #

sinIdentity a → Identity a #

cosIdentity a → Identity a #

tanIdentity a → Identity a #

asinIdentity a → Identity a #

acosIdentity a → Identity a #

atanIdentity a → Identity a #

sinhIdentity a → Identity a #

coshIdentity a → Identity a #

tanhIdentity a → Identity a #

asinhIdentity a → Identity a #

acoshIdentity a → Identity a #

atanhIdentity a → Identity a #

log1pIdentity a → Identity a #

expm1Identity a → Identity a #

log1pexpIdentity a → Identity a #

log1mexpIdentity a → Identity a #

RealFloat a ⇒ RealFloat (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Generic (Identity a) 
Instance details

Defined in Data.Functor.Identity

Associated Types

type Rep (Identity a) ∷ TypeType #

Methods

fromIdentity a → Rep (Identity a) x #

toRep (Identity a) x → Identity a #

Ix a ⇒ Ix (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

range ∷ (Identity a, Identity a) → [Identity a] #

index ∷ (Identity a, Identity a) → Identity a → Int #

unsafeIndex ∷ (Identity a, Identity a) → Identity a → Int #

inRange ∷ (Identity a, Identity a) → Identity a → Bool #

rangeSize ∷ (Identity a, Identity a) → Int #

unsafeRangeSize ∷ (Identity a, Identity a) → Int #

Num a ⇒ Num (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(+)Identity a → Identity a → Identity a #

(-)Identity a → Identity a → Identity a #

(*)Identity a → Identity a → Identity a #

negateIdentity a → Identity a #

absIdentity a → Identity a #

signumIdentity a → Identity a #

fromIntegerIntegerIdentity a #

Read a ⇒ Read (Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Fractional a ⇒ Fractional (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(/)Identity a → Identity a → Identity a #

recipIdentity a → Identity a #

fromRationalRationalIdentity a #

Integral a ⇒ Integral (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

quotIdentity a → Identity a → Identity a #

remIdentity a → Identity a → Identity a #

divIdentity a → Identity a → Identity a #

modIdentity a → Identity a → Identity a #

quotRemIdentity a → Identity a → (Identity a, Identity a) #

divModIdentity a → Identity a → (Identity a, Identity a) #

toIntegerIdentity a → Integer #

Real a ⇒ Real (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

toRationalIdentity a → Rational #

RealFrac a ⇒ RealFrac (Identity a)

Since: base-4.9.0.0

Instance details

Defined in Data.Functor.Identity

Methods

properFractionIntegral b ⇒ Identity a → (b, Identity a) #

truncateIntegral b ⇒ Identity a → b #

roundIntegral b ⇒ Identity a → b #

ceilingIntegral b ⇒ Identity a → b #

floorIntegral b ⇒ Identity a → b #

Show a ⇒ Show (Identity a)

This instance would be equivalent to the derived instances of the Identity newtype if the runIdentity field were removed

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

showsPrecIntIdentity a → ShowS #

showIdentity a → String #

showList ∷ [Identity a] → ShowS #

Show (DowngradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Show (UpgradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Show (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

DecCBOR (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Crypto c ⇒ DecCBOR (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

decCBORDecoder s (Pulser c) #

dropCBORProxy (Pulser c) → Decoder s () #

labelProxy (Pulser c) → Text #

EncCBOR (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Crypto c ⇒ EncCBOR (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

encCBORPulser c → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (Pulser c) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Pulser c] → Size #

FromField a ⇒ FromField (Identity a)

Since: cassava-0.5.2.0

Instance details

Defined in Data.Csv.Conversion

Methods

parseFieldFieldParser (Identity a) #

ToField a ⇒ ToField (Identity a)

Since: cassava-0.5.2.0

Instance details

Defined in Data.Csv.Conversion

Methods

toFieldIdentity a → Field #

Default (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

NFData a ⇒ NFData (Identity a)

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnfIdentity a → () #

NFData (DowngradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

NFData (UpgradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

NFData (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

NFData (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Methods

rnfPulser c → () #

Eq a ⇒ Eq (Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

(==)Identity a → Identity a → Bool #

(/=)Identity a → Identity a → Bool #

Eq (DowngradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Eq (UpgradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Eq (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Ord a ⇒ Ord (Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

Methods

compareIdentity a → Identity a → Ordering #

(<)Identity a → Identity a → Bool #

(<=)Identity a → Identity a → Bool #

(>)Identity a → Identity a → Bool #

(>=)Identity a → Identity a → Bool #

maxIdentity a → Identity a → Identity a #

minIdentity a → Identity a → Identity a #

Ord (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Abelian a ⇒ Abelian (Identity a) 
Instance details

Defined in Data.Group

Cyclic a ⇒ Cyclic (Identity a) 
Instance details

Defined in Data.Group

Methods

generatorIdentity a #

Group a ⇒ Group (Identity a)

Identity lifts groups pointwise (at only one point).

Instance details

Defined in Data.Group

Methods

invertIdentity a → Identity a #

(~~)Identity a → Identity a → Identity a #

powIntegral x ⇒ Identity a → x → Identity a #

Hashable a ⇒ Hashable (Identity a) 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntIdentity a → Int #

hashIdentity a → Int #

FromFormKey a ⇒ FromFormKey (Identity a)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

parseFormKeyTextEither Text (Identity a) #

ToFormKey a ⇒ ToFormKey (Identity a)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormKeyIdentity a → Text #

FromHttpApiData a ⇒ FromHttpApiData (Identity a)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.HttpApiData

ToHttpApiData a ⇒ ToHttpApiData (Identity a)

Since: http-api-data-0.4.2

Instance details

Defined in Web.Internal.HttpApiData

Ixed (Identity a) 
Instance details

Defined in Control.Lens.At

Methods

ixIndex (Identity a) → Traversal' (Identity a) (IxValue (Identity a)) #

Wrapped (Identity a) 
Instance details

Defined in Control.Lens.Wrapped

Associated Types

type Unwrapped (Identity a) #

Methods

_Wrapped'Iso' (Identity a) (Unwrapped (Identity a)) #

MonoFoldable (Identity a) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m ⇒ (Element (Identity a) → m) → Identity a → m #

ofoldr ∷ (Element (Identity a) → b → b) → b → Identity a → b #

ofoldl' ∷ (a0 → Element (Identity a) → a0) → a0 → Identity a → a0 #

otoListIdentity a → [Element (Identity a)] #

oall ∷ (Element (Identity a) → Bool) → Identity a → Bool #

oany ∷ (Element (Identity a) → Bool) → Identity a → Bool #

onullIdentity a → Bool #

olengthIdentity a → Int #

olength64Identity a → Int64 #

ocompareLengthIntegral i ⇒ Identity a → i → Ordering #

otraverse_Applicative f ⇒ (Element (Identity a) → f b) → Identity a → f () #

ofor_Applicative f ⇒ Identity a → (Element (Identity a) → f b) → f () #

omapM_Applicative m ⇒ (Element (Identity a) → m ()) → Identity a → m () #

oforM_Applicative m ⇒ Identity a → (Element (Identity a) → m ()) → m () #

ofoldlMMonad m ⇒ (a0 → Element (Identity a) → m a0) → a0 → Identity a → m a0 #

ofoldMap1ExSemigroup m ⇒ (Element (Identity a) → m) → Identity a → m #

ofoldr1Ex ∷ (Element (Identity a) → Element (Identity a) → Element (Identity a)) → Identity a → Element (Identity a) #

ofoldl1Ex' ∷ (Element (Identity a) → Element (Identity a) → Element (Identity a)) → Identity a → Element (Identity a) #

headExIdentity a → Element (Identity a) #

lastExIdentity a → Element (Identity a) #

unsafeHeadIdentity a → Element (Identity a) #

unsafeLastIdentity a → Element (Identity a) #

maximumByEx ∷ (Element (Identity a) → Element (Identity a) → Ordering) → Identity a → Element (Identity a) #

minimumByEx ∷ (Element (Identity a) → Element (Identity a) → Ordering) → Identity a → Element (Identity a) #

oelemElement (Identity a) → Identity a → Bool #

onotElemElement (Identity a) → Identity a → Bool #

MonoFunctor (Identity a) 
Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element (Identity a) → Element (Identity a)) → Identity a → Identity a #

MonoPointed (Identity a) 
Instance details

Defined in Data.MonoTraversable

Methods

opointElement (Identity a) → Identity a #

MonoTraversable (Identity a) 
Instance details

Defined in Data.MonoTraversable

Methods

otraverseApplicative f ⇒ (Element (Identity a) → f (Element (Identity a))) → Identity a → f (Identity a) #

omapMApplicative m ⇒ (Element (Identity a) → m (Element (Identity a))) → Identity a → m (Identity a) #

Newtype (Identity a)

Since: newtype-generics-0.5.1

Instance details

Defined in Control.Newtype.Generics

Associated Types

type O (Identity a) #

Methods

packO (Identity a) → Identity a #

unpackIdentity a → O (Identity a) #

NoThunks a ⇒ NoThunks (Identity a) 
Instance details

Defined in NoThunks.Class

NoThunks (DowngradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

NoThunks (UpgradeAlonzoPParams Identity) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

NoThunks (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Typeable c ⇒ NoThunks (Pulser c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

ToParamSchema a ⇒ ToParamSchema (Identity a) 
Instance details

Defined in Data.OpenApi.Internal.ParamSchema

Methods

toParamSchemaProxy (Identity a) → Schema #

ToSchema a ⇒ ToSchema (Identity a) 
Instance details

Defined in Data.OpenApi.Internal.Schema

Ixed (Identity a) 
Instance details

Defined in Optics.At.Core

Associated Types

type IxKind (Identity a) #

Methods

ixIndex (Identity a) → Optic' (IxKind (Identity a)) NoIx (Identity a) (IxValue (Identity a)) #

FromField a ⇒ FromField (Identity a) 
Instance details

Defined in Database.PostgreSQL.Simple.FromField

ToField a ⇒ ToField (Identity a) 
Instance details

Defined in Database.PostgreSQL.Simple.ToField

Methods

toFieldIdentity a → Action #

Pretty a ⇒ Pretty (Identity a)
>>> pretty (Identity 1)
1
Instance details

Defined in Prettyprinter.Internal

Methods

prettyIdentity a → Doc ann #

prettyList ∷ [Identity a] → Doc ann #

ToParamSchema a ⇒ ToParamSchema (Identity a) 
Instance details

Defined in Data.Swagger.Internal.ParamSchema

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy (Identity a) → ParamSchema t #

ToSchema a ⇒ ToSchema (Identity a) 
Instance details

Defined in Data.Swagger.Internal.Schema

Unbox a ⇒ Unbox (Identity a) 
Instance details

Defined in Data.Vector.Unboxed.Base

t ~ Identity b ⇒ Rewrapped (Identity a) t 
Instance details

Defined in Control.Lens.Wrapped

Field1 (Identity a) (Identity b) a b 
Instance details

Defined in Control.Lens.Tuple

Methods

_1Lens (Identity a) (Identity b) a b #

FromJSON (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

FromJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Era era ⇒ FromJSON (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Crypto c ⇒ ToJSON (AlonzoPParams Identity (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

(PParamsHKD Identity era ~ BabbagePParams Identity era, BabbageEraPParams era, ProtVerAtMost era 8) ⇒ ToJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Crypto c ⇒ ToJSON (ConwayPParams Identity (ConwayEra c)) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(EraPParams era, PParamsHKD Identity era ~ ShelleyPParams Identity era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) ⇒ ToJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Era era ⇒ Generic (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Associated Types

type Rep (WitnessSetHKD Identity era) ∷ TypeType #

Show (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Show (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Show (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Show (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

EraScript era ⇒ Show (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Era era ⇒ FromCBOR (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Era era ⇒ FromCBOR (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Era era ⇒ FromCBOR (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Era era ⇒ FromCBOR (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Era era ⇒ ToCBOR (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

toCBORAlonzoPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (AlonzoPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [AlonzoPParams Identity era] → Size #

Era era ⇒ ToCBOR (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

toCBORBabbagePParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (BabbagePParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [BabbagePParams Identity era] → Size #

Era era ⇒ ToCBOR (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

toCBORConwayPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ConwayPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ConwayPParams Identity era] → Size #

Era era ⇒ ToCBOR (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

toCBORShelleyPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyPParams Identity era] → Size #

Era era ⇒ DecCBOR (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Era era ⇒ DecCBOR (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Era era ⇒ DecCBOR (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Era era ⇒ DecCBOR (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Era era ⇒ EncCBOR (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

encCBORAlonzoPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (AlonzoPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [AlonzoPParams Identity era] → Size #

Era era ⇒ EncCBOR (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

encCBORBabbagePParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (BabbagePParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [BabbagePParams Identity era] → Size #

Era era ⇒ EncCBOR (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

encCBORConwayPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (ConwayPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [ConwayPParams Identity era] → Size #

Era era ⇒ EncCBOR (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

encCBORShelleyPParams Identity era → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (ShelleyPParams Identity era) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [ShelleyPParams Identity era] → Size #

NFData (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Methods

rnfAlonzoPParams Identity era → () #

NFData (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Methods

rnfBabbagePParams Identity era → () #

NFData (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

rnfConwayPParams Identity era → () #

NFData (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Methods

rnfShelleyPParams Identity era → () #

(Era era, NFData (Script era), NFData (WitVKey 'Witness (EraCrypto era)), NFData (BootstrapWitness (EraCrypto era))) ⇒ NFData (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Methods

rnfWitnessSetHKD Identity era → () #

Eq (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Eq (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Eq (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Eq (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

EraScript era ⇒ Eq (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

Ord (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Ord (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

Ord (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Ord (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

NoThunks (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

NoThunks (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

NoThunks (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

NoThunks (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(Era era, NoThunks (Script era)) ⇒ NoThunks (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

(Typeable t, FromJSON a) ⇒ FromJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(Typeable t, ToJSON a) ⇒ ToJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(Typeable t, DecCBOR a) ⇒ DecCBOR (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

decCBORDecoder s (THKD t Identity a) #

dropCBORProxy (THKD t Identity a) → Decoder s () #

labelProxy (THKD t Identity a) → Text #

(Typeable t, EncCBOR a) ⇒ EncCBOR (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Methods

encCBORTHKD t Identity a → Encoding #

encodedSizeExpr ∷ (∀ t0. EncCBOR t0 ⇒ Proxy t0 → Size) → Proxy (THKD t Identity a) → Size #

encodedListSizeExpr ∷ (∀ t0. EncCBOR t0 ⇒ Proxy t0 → Size) → Proxy [THKD t Identity a] → Size #

EraPParams era ⇒ NFData (DRepPulser era Identity (RatifyState era)) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

Methods

rnfDRepPulser era Identity (RatifyState era) → () #

EraPParams era ⇒ Eq (DRepPulser era Identity (RatifyState era)) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

EraPParams era ⇒ NoThunks (DRepPulser era Identity (RatifyState era)) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

type Rep Identity 
Instance details

Defined in Data.Functor.Rep

type Rep Identity = ()
type Rep1 Identity

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

type Rep1 Identity = D1 ('MetaData "Identity" "Data.Functor.Identity" "base" 'True) (C1 ('MetaCons "Identity" 'PrefixI 'True) (S1 ('MetaSel ('Just "runIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1))
type StM Identity a 
Instance details

Defined in Control.Monad.Trans.Control

type StM Identity a = a
newtype MVector s (Identity a) 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype MVector s (Identity a) = MV_Identity (MVector s a)
type Rep (Identity a)

Since: base-4.8.0.0

Instance details

Defined in Data.Functor.Identity

type Rep (Identity a) = D1 ('MetaData "Identity" "Data.Functor.Identity" "base" 'True) (C1 ('MetaCons "Identity" 'PrefixI 'True) (S1 ('MetaSel ('Just "runIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))
type Code (Identity a) 
Instance details

Defined in Generics.SOP.Instances

type Code (Identity a) = '['[a]]
type DatatypeInfoOf (Identity a) 
Instance details

Defined in Generics.SOP.Instances

type DatatypeInfoOf (Identity a) = 'Newtype "Data.Functor.Identity" "Identity" ('Record "Identity" '['FieldInfo "runIdentity"])
type Index (Identity a) 
Instance details

Defined in Control.Lens.At

type Index (Identity a) = ()
type IxValue (Identity a) 
Instance details

Defined in Control.Lens.At

type IxValue (Identity a) = a
type Unwrapped (Identity a) 
Instance details

Defined in Control.Lens.Wrapped

type Unwrapped (Identity a) = a
type Element (Identity a) 
Instance details

Defined in Data.MonoTraversable

type Element (Identity a) = a
type O (Identity a) 
Instance details

Defined in Control.Newtype.Generics

type O (Identity a) = a
type Index (Identity a) 
Instance details

Defined in Optics.At.Core

type Index (Identity a) = ()
type IxKind (Identity a) 
Instance details

Defined in Optics.At.Core

type IxValue (Identity a) 
Instance details

Defined in Optics.At.Core

type IxValue (Identity a) = a
newtype Vector (Identity a) 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype Vector (Identity a) = V_Identity (Vector a)
type Rep (WitnessSetHKD Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxWits

type Rep (WitnessSetHKD Identity era) = D1 ('MetaData "WitnessSetHKD" "Cardano.Ledger.Shelley.TxWits" "cardano-ledger-shelley-1.9.0.0-a6bb1a90bb4a665d41480b124d7f96e2a05ac6b6353b36abca5e63728f45b254" 'False) (C1 ('MetaCons "WitnessSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addrWits'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HKD Identity (Set (WitVKey 'Witness (EraCrypto era))))) :*: S1 ('MetaSel ('Just "scriptWits'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HKD Identity (Map (ScriptHash (EraCrypto era)) (Script era))))) :*: (S1 ('MetaSel ('Just "bootWits'") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HKD Identity (Set (BootstrapWitness (EraCrypto era))))) :*: S1 ('MetaSel ('Just "txWitsBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))))

data Set a #

A set of values a.

Instances

Instances details
ToJSON1 Set 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a → Bool) → (a → Value) → ([a] → Value) → Set a → Value #

liftToJSONList ∷ (a → Bool) → (a → Value) → ([a] → Value) → [Set a] → Value #

liftToEncoding ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → Set a → Encoding #

liftToEncodingList ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → [Set a] → Encoding #

liftOmitField ∷ (a → Bool) → Set a → Bool #

Foldable Set

Folds in order of increasing key.

Instance details

Defined in Data.Set.Internal

Methods

foldMonoid m ⇒ Set m → m #

foldMapMonoid m ⇒ (a → m) → Set a → m #

foldMap'Monoid m ⇒ (a → m) → Set a → m #

foldr ∷ (a → b → b) → b → Set a → b #

foldr' ∷ (a → b → b) → b → Set a → b #

foldl ∷ (b → a → b) → b → Set a → b #

foldl' ∷ (b → a → b) → b → Set a → b #

foldr1 ∷ (a → a → a) → Set a → a #

foldl1 ∷ (a → a → a) → Set a → a #

toListSet a → [a] #

nullSet a → Bool #

lengthSet a → Int #

elemEq a ⇒ a → Set a → Bool #

maximumOrd a ⇒ Set a → a #

minimumOrd a ⇒ Set a → a #

sumNum a ⇒ Set a → a #

productNum a ⇒ Set a → a #

Eq1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Methods

liftEq ∷ (a → b → Bool) → Set a → Set b → Bool #

Ord1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Methods

liftCompare ∷ (a → b → Ordering) → Set a → Set b → Ordering #

Show1 Set

Since: containers-0.5.9

Instance details

Defined in Data.Set.Internal

Methods

liftShowsPrec ∷ (Int → a → ShowS) → ([a] → ShowS) → IntSet a → ShowS #

liftShowList ∷ (Int → a → ShowS) → ([a] → ShowS) → [Set a] → ShowS #

Hashable1 Set

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a → Int) → IntSet a → Int #

Ord k ⇒ Indexable k (Set k) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Lift a ⇒ Lift (Set a ∷ Type)

Since: containers-0.6.6

Instance details

Defined in Data.Set.Internal

Methods

liftQuote m ⇒ Set a → m Exp #

liftTyped ∷ ∀ (m ∷ TypeType). Quote m ⇒ Set a → Code m (Set a) #

Structured k ⇒ Structured (Set k) 
Instance details

Defined in Distribution.Utils.Structured

Methods

structureProxy (Set k) → Structure #

structureHash' ∷ Tagged (Set k) MD5

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Set a) #

parseJSONListValueParser [Set a] #

omittedFieldMaybe (Set a) #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

omitFieldSet a → Bool #

(Data a, Ord a) ⇒ Data (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Set a → c (Set a) #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c (Set a) #

toConstrSet a → Constr #

dataTypeOfSet a → DataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (Set a)) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (Set a)) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Set a → Set a #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Set a → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Set a → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Set a → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Set a → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Set a → m (Set a) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Set a → m (Set a) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Set a → m (Set a) #

Ord a ⇒ Monoid (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

memptySet a #

mappendSet a → Set a → Set a #

mconcat ∷ [Set a] → Set a #

Ord a ⇒ Semigroup (Set a)

Since: containers-0.5.7

Instance details

Defined in Data.Set.Internal

Methods

(<>)Set a → Set a → Set a #

sconcatNonEmpty (Set a) → Set a #

stimesIntegral b ⇒ b → Set a → Set a #

Ord a ⇒ IsList (Set a)

Since: containers-0.5.6.2

Instance details

Defined in Data.Set.Internal

Associated Types

type Item (Set a) #

Methods

fromList ∷ [Item (Set a)] → Set a #

fromListNInt → [Item (Set a)] → Set a #

toListSet a → [Item (Set a)] #

(Read a, Ord a) ⇒ Read (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

readsPrecIntReadS (Set a) #

readListReadS [Set a] #

readPrecReadPrec (Set a) #

readListPrecReadPrec [Set a] #

Show a ⇒ Show (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

showsPrecIntSet a → ShowS #

showSet a → String #

showList ∷ [Set a] → ShowS #

(Ord a, FromCBOR a) ⇒ FromCBOR (Set a) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBORDecoder s (Set a) #

labelProxy (Set a) → Text #

(Ord a, ToCBOR a) ⇒ ToCBOR (Set a) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORSet a → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Set a) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Set a] → Size #

(Ord a, DecCBOR a) ⇒ DecCBOR (Set a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBORDecoder s (Set a) #

dropCBORProxy (Set a) → Decoder s () #

labelProxy (Set a) → Text #

(Ord a, EncCBOR a) ⇒ EncCBOR (Set a) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBORSet a → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (Set a) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Set a] → Size #

NFData a ⇒ NFData (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

rnfSet a → () #

Eq a ⇒ Eq (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

(==)Set a → Set a → Bool #

(/=)Set a → Set a → Bool #

Ord a ⇒ Ord (Set a) 
Instance details

Defined in Data.Set.Internal

Methods

compareSet a → Set a → Ordering #

(<)Set a → Set a → Bool #

(<=)Set a → Set a → Bool #

(>)Set a → Set a → Bool #

(>=)Set a → Set a → Bool #

maxSet a → Set a → Set a #

minSet a → Set a → Set a #

Hashable v ⇒ Hashable (Set v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntSet v → Int #

hashSet v → Int #

Ord k ⇒ At (Set k) 
Instance details

Defined in Control.Lens.At

Methods

atIndex (Set k) → Lens' (Set k) (Maybe (IxValue (Set k))) #

Ord a ⇒ Contains (Set a) 
Instance details

Defined in Control.Lens.At

Methods

containsIndex (Set a) → Lens' (Set a) Bool #

Ord k ⇒ Ixed (Set k) 
Instance details

Defined in Control.Lens.At

Methods

ixIndex (Set k) → Traversal' (Set k) (IxValue (Set k)) #

Ord a ⇒ Wrapped (Set a) 
Instance details

Defined in Control.Lens.Wrapped

Associated Types

type Unwrapped (Set a) #

Methods

_Wrapped'Iso' (Set a) (Unwrapped (Set a)) #

Ord element ⇒ IsSet (Set element) 
Instance details

Defined in Data.Containers

Methods

insertSetElement (Set element) → Set element → Set element #

deleteSetElement (Set element) → Set element → Set element #

singletonSetElement (Set element) → Set element #

setFromList ∷ [Element (Set element)] → Set element #

setToListSet element → [Element (Set element)] #

filterSet ∷ (Element (Set element) → Bool) → Set element → Set element #

Ord element ⇒ SetContainer (Set element) 
Instance details

Defined in Data.Containers

Associated Types

type ContainerKey (Set element) #

Methods

memberContainerKey (Set element) → Set element → Bool #

notMemberContainerKey (Set element) → Set element → Bool #

unionSet element → Set element → Set element #

unions ∷ (MonoFoldable mono, Element mono ~ Set element) ⇒ mono → Set element #

differenceSet element → Set element → Set element #

intersectionSet element → Set element → Set element #

keysSet element → [ContainerKey (Set element)] #

Ord v ⇒ GrowingAppend (Set v) 
Instance details

Defined in Data.MonoTraversable

Ord e ⇒ MonoFoldable (Set e) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m ⇒ (Element (Set e) → m) → Set e → m #

ofoldr ∷ (Element (Set e) → b → b) → b → Set e → b #

ofoldl' ∷ (a → Element (Set e) → a) → a → Set e → a #

otoListSet e → [Element (Set e)] #

oall ∷ (Element (Set e) → Bool) → Set e → Bool #

oany ∷ (Element (Set e) → Bool) → Set e → Bool #

onullSet e → Bool #

olengthSet e → Int #

olength64Set e → Int64 #

ocompareLengthIntegral i ⇒ Set e → i → Ordering #

otraverse_Applicative f ⇒ (Element (Set e) → f b) → Set e → f () #

ofor_Applicative f ⇒ Set e → (Element (Set e) → f b) → f () #

omapM_Applicative m ⇒ (Element (Set e) → m ()) → Set e → m () #

oforM_Applicative m ⇒ Set e → (Element (Set e) → m ()) → m () #

ofoldlMMonad m ⇒ (a → Element (Set e) → m a) → a → Set e → m a #

ofoldMap1ExSemigroup m ⇒ (Element (Set e) → m) → Set e → m #

ofoldr1Ex ∷ (Element (Set e) → Element (Set e) → Element (Set e)) → Set e → Element (Set e) #

ofoldl1Ex' ∷ (Element (Set e) → Element (Set e) → Element (Set e)) → Set e → Element (Set e) #

headExSet e → Element (Set e) #

lastExSet e → Element (Set e) #

unsafeHeadSet e → Element (Set e) #

unsafeLastSet e → Element (Set e) #

maximumByEx ∷ (Element (Set e) → Element (Set e) → Ordering) → Set e → Element (Set e) #

minimumByEx ∷ (Element (Set e) → Element (Set e) → Ordering) → Set e → Element (Set e) #

oelemElement (Set e) → Set e → Bool #

onotElemElement (Set e) → Set e → Bool #

MonoPointed (Set a) 
Instance details

Defined in Data.MonoTraversable

Methods

opointElement (Set a) → Set a #

NoThunks a ⇒ NoThunks (Set a) 
Instance details

Defined in NoThunks.Class

Methods

noThunksContextSet a → IO (Maybe ThunkInfo) #

wNoThunksContextSet a → IO (Maybe ThunkInfo) #

showTypeOfProxy (Set a) → String #

ToParamSchema a ⇒ ToParamSchema (Set a) 
Instance details

Defined in Data.OpenApi.Internal.ParamSchema

Methods

toParamSchemaProxy (Set a) → Schema #

ToSchema a ⇒ ToSchema (Set a) 
Instance details

Defined in Data.OpenApi.Internal.Schema

Ord k ⇒ At (Set k) 
Instance details

Defined in Optics.At.Core

Methods

atIndex (Set k) → Lens' (Set k) (Maybe (IxValue (Set k))) #

Ord a ⇒ Contains (Set a) 
Instance details

Defined in Optics.At.Core

Methods

containsIndex (Set a) → Lens' (Set a) Bool #

Ord k ⇒ Ixed (Set k) 
Instance details

Defined in Optics.At.Core

Associated Types

type IxKind (Set k) #

Methods

ixIndex (Set k) → Optic' (IxKind (Set k)) NoIx (Set k) (IxValue (Set k)) #

ToParamSchema a ⇒ ToParamSchema (Set a) 
Instance details

Defined in Data.Swagger.Internal.ParamSchema

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy (Set a) → ParamSchema t #

ToSchema a ⇒ ToSchema (Set a) 
Instance details

Defined in Data.Swagger.Internal.Schema

(t ~ Set a', Ord a) ⇒ Rewrapped (Set a) t

Use _Wrapping fromList. unwrapping returns a sorted list.

Instance details

Defined in Control.Lens.Wrapped

type Item (Set a) 
Instance details

Defined in Data.Set.Internal

type Item (Set a) = a
type Index (Set a) 
Instance details

Defined in Control.Lens.At

type Index (Set a) = a
type IxValue (Set k) 
Instance details

Defined in Control.Lens.At

type IxValue (Set k) = ()
type Unwrapped (Set a) 
Instance details

Defined in Control.Lens.Wrapped

type Unwrapped (Set a) = [a]
type ContainerKey (Set element) 
Instance details

Defined in Data.Containers

type ContainerKey (Set element) = element
type Element (Set e) 
Instance details

Defined in Data.MonoTraversable

type Element (Set e) = e
type Index (Set a) 
Instance details

Defined in Optics.At.Core

type Index (Set a) = a
type IxKind (Set k) 
Instance details

Defined in Optics.At.Core

type IxValue (Set k) 
Instance details

Defined in Optics.At.Core

type IxValue (Set k) = ()

data Map k a #

A Map from keys k to values a.

The Semigroup operation for Map is union, which prefers values from the left operand. If m1 maps a key k to a value a1, and m2 maps the same key to a different value a2, then their union m1 <> m2 maps k to a1.

Instances

Instances details
Bifoldable Map

Since: containers-0.6.3.1

Instance details

Defined in Data.Map.Internal

Methods

bifoldMonoid m ⇒ Map m m → m #

bifoldMapMonoid m ⇒ (a → m) → (b → m) → Map a b → m #

bifoldr ∷ (a → c → c) → (b → c → c) → c → Map a b → c #

bifoldl ∷ (c → a → c) → (c → b → c) → c → Map a b → c #

Eq2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftEq2 ∷ (a → b → Bool) → (c → d → Bool) → Map a c → Map b d → Bool #

Ord2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftCompare2 ∷ (a → b → Ordering) → (c → d → Ordering) → Map a c → Map b d → Ordering #

Show2 Map

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftShowsPrec2 ∷ (Int → a → ShowS) → ([a] → ShowS) → (Int → b → ShowS) → ([b] → ShowS) → IntMap a b → ShowS #

liftShowList2 ∷ (Int → a → ShowS) → ([a] → ShowS) → (Int → b → ShowS) → ([b] → ShowS) → [Map a b] → ShowS #

Hashable2 Map

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt2 ∷ (Int → a → Int) → (Int → b → Int) → IntMap a b → Int #

BiPolyMap Map 
Instance details

Defined in Data.Containers

Associated Types

type BPMKeyConstraint Map key #

Methods

mapKeysWith ∷ (BPMKeyConstraint Map k1, BPMKeyConstraint Map k2) ⇒ (v → v → v) → (k1 → k2) → Map k1 v → Map k2 v #

FoldableWithIndex k (Map k) 
Instance details

Defined in WithIndex

Methods

ifoldMapMonoid m ⇒ (k → a → m) → Map k a → m #

ifoldMap'Monoid m ⇒ (k → a → m) → Map k a → m #

ifoldr ∷ (k → a → b → b) → b → Map k a → b #

ifoldl ∷ (k → b → a → b) → b → Map k a → b #

ifoldr' ∷ (k → a → b → b) → b → Map k a → b #

ifoldl' ∷ (k → b → a → b) → b → Map k a → b #

FunctorWithIndex k (Map k) 
Instance details

Defined in WithIndex

Methods

imap ∷ (k → a → b) → Map k a → Map k b #

TraversableWithIndex k (Map k) 
Instance details

Defined in WithIndex

Methods

itraverseApplicative f ⇒ (k → a → f b) → Map k a → f (Map k b) #

FilterableWithIndex k (Map k) 
Instance details

Defined in Witherable

Methods

imapMaybe ∷ (k → a → Maybe b) → Map k a → Map k b #

ifilter ∷ (k → a → Bool) → Map k a → Map k a #

WitherableWithIndex k (Map k) 
Instance details

Defined in Witherable

Methods

iwitherApplicative f ⇒ (k → a → f (Maybe b)) → Map k a → f (Map k b) #

iwitherMMonad m ⇒ (k → a → m (Maybe b)) → Map k a → m (Map k b) #

ifilterAApplicative f ⇒ (k → a → f Bool) → Map k a → f (Map k a) #

Ord k ⇒ Indexable k (Map k v) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxBody

Methods

indexOfAsItem Word32 k → Map k v → StrictMaybe (AsIndex Word32 k) #

fromIndexAsIndex Word32 k → Map k v → StrictMaybe (AsItem Word32 k) #

(Lift k, Lift a) ⇒ Lift (Map k a ∷ Type)

Since: containers-0.6.6

Instance details

Defined in Data.Map.Internal

Methods

liftQuote m ⇒ Map k a → m Exp #

liftTyped ∷ ∀ (m ∷ TypeType). Quote m ⇒ Map k a → Code m (Map k a) #

(FromJSONKey k, Ord k) ⇒ FromJSON1 (Map k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

liftParseJSONMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser (Map k a) #

liftParseJSONListMaybe a → (ValueParser a) → (ValueParser [a]) → ValueParser [Map k a] #

liftOmittedFieldMaybe a → Maybe (Map k a) #

ToJSONKey k ⇒ ToJSON1 (Map k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

liftToJSON ∷ (a → Bool) → (a → Value) → ([a] → Value) → Map k a → Value #

liftToJSONList ∷ (a → Bool) → (a → Value) → ([a] → Value) → [Map k a] → Value #

liftToEncoding ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → Map k a → Encoding #

liftToEncodingList ∷ (a → Bool) → (a → Encoding) → ([a] → Encoding) → [Map k a] → Encoding #

liftOmitField ∷ (a → Bool) → Map k a → Bool #

Foldable (Map k)

Folds in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

foldMonoid m ⇒ Map k m → m #

foldMapMonoid m ⇒ (a → m) → Map k a → m #

foldMap'Monoid m ⇒ (a → m) → Map k a → m #

foldr ∷ (a → b → b) → b → Map k a → b #

foldr' ∷ (a → b → b) → b → Map k a → b #

foldl ∷ (b → a → b) → b → Map k a → b #

foldl' ∷ (b → a → b) → b → Map k a → b #

foldr1 ∷ (a → a → a) → Map k a → a #

foldl1 ∷ (a → a → a) → Map k a → a #

toListMap k a → [a] #

nullMap k a → Bool #

lengthMap k a → Int #

elemEq a ⇒ a → Map k a → Bool #

maximumOrd a ⇒ Map k a → a #

minimumOrd a ⇒ Map k a → a #

sumNum a ⇒ Map k a → a #

productNum a ⇒ Map k a → a #

Eq k ⇒ Eq1 (Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftEq ∷ (a → b → Bool) → Map k a → Map k b → Bool #

Ord k ⇒ Ord1 (Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftCompare ∷ (a → b → Ordering) → Map k a → Map k b → Ordering #

(Ord k, Read k) ⇒ Read1 (Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftReadsPrec ∷ (IntReadS a) → ReadS [a] → IntReadS (Map k a) #

liftReadList ∷ (IntReadS a) → ReadS [a] → ReadS [Map k a] #

liftReadPrecReadPrec a → ReadPrec [a] → ReadPrec (Map k a) #

liftReadListPrecReadPrec a → ReadPrec [a] → ReadPrec [Map k a] #

Show k ⇒ Show1 (Map k)

Since: containers-0.5.9

Instance details

Defined in Data.Map.Internal

Methods

liftShowsPrec ∷ (Int → a → ShowS) → ([a] → ShowS) → IntMap k a → ShowS #

liftShowList ∷ (Int → a → ShowS) → ([a] → ShowS) → [Map k a] → ShowS #

Traversable (Map k)

Traverses in order of increasing key.

Instance details

Defined in Data.Map.Internal

Methods

traverseApplicative f ⇒ (a → f b) → Map k a → f (Map k b) #

sequenceAApplicative f ⇒ Map k (f a) → f (Map k a) #

mapMMonad m ⇒ (a → m b) → Map k a → m (Map k b) #

sequenceMonad m ⇒ Map k (m a) → m (Map k a) #

Functor (Map k) 
Instance details

Defined in Data.Map.Internal

Methods

fmap ∷ (a → b) → Map k a → Map k b #

(<$) ∷ a → Map k b → Map k a #

Hashable k ⇒ Hashable1 (Map k)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Methods

liftHashWithSalt ∷ (Int → a → Int) → IntMap k a → Int #

Ord key ⇒ PolyMap (Map key)

This instance uses the functions from Data.Map.Strict.

Instance details

Defined in Data.Containers

Methods

differenceMapMap key value1 → Map key value2 → Map key value1 #

intersectionMapMap key value1 → Map key value2 → Map key value1 #

intersectionWithMap ∷ (value1 → value2 → value3) → Map key value1 → Map key value2 → Map key value3 #

Filterable (Map k) 
Instance details

Defined in Witherable

Methods

mapMaybe ∷ (a → Maybe b) → Map k a → Map k b #

catMaybesMap k (Maybe a) → Map k a #

filter ∷ (a → Bool) → Map k a → Map k a #

Witherable (Map k) 
Instance details

Defined in Witherable

Methods

witherApplicative f ⇒ (a → f (Maybe b)) → Map k a → f (Map k b) #

witherMMonad m ⇒ (a → m (Maybe b)) → Map k a → m (Map k b) #

filterAApplicative f ⇒ (a → f Bool) → Map k a → f (Map k a) #

witherMapApplicative m ⇒ (Map k b → r) → (a → m (Maybe b)) → Map k a → m r #

Embed (PoolDistr c) (Map (KeyHash 'StakePool c) (IndividualPoolStake c))

We can Embed a Newtype around a Map (or other Iterable type) and then use it in a set expression.

Instance details

Defined in Cardano.Ledger.PoolDistr

HasExp (PoolDistr c) (Map (KeyHash 'StakePool c) (IndividualPoolStake c)) 
Instance details

Defined in Cardano.Ledger.PoolDistr

(Structured k, Structured v) ⇒ Structured (Map k v) 
Instance details

Defined in Distribution.Utils.Structured

Methods

structureProxy (Map k v) → Structure #

structureHash' ∷ Tagged (Map k v) MD5

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Map k v) #

parseJSONListValueParser [Map k v] #

omittedFieldMaybe (Map k v) #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

omitFieldMap k v → Bool #

(Data k, Data a, Ord k) ⇒ Data (Map k a) 
Instance details

Defined in Data.Map.Internal

Methods

gfoldl ∷ (∀ d b. Data d ⇒ c (d → b) → d → c b) → (∀ g. g → c g) → Map k a → c (Map k a) #

gunfold ∷ (∀ b r. Data b ⇒ c (b → r) → c r) → (∀ r. r → c r) → Constr → c (Map k a) #

toConstrMap k a → Constr #

dataTypeOfMap k a → DataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (Map k a)) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (Map k a)) #

gmapT ∷ (∀ b. Data b ⇒ b → b) → Map k a → Map k a #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → Map k a → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → Map k a → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → Map k a → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → Map k a → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → Map k a → m (Map k a) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Map k a → m (Map k a) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → Map k a → m (Map k a) #

Ord k ⇒ Monoid (Map k v) 
Instance details

Defined in Data.Map.Internal

Methods

memptyMap k v #

mappendMap k v → Map k v → Map k v #

mconcat ∷ [Map k v] → Map k v #

Ord k ⇒ Semigroup (Map k v) 
Instance details

Defined in Data.Map.Internal

Methods

(<>)Map k v → Map k v → Map k v #

sconcatNonEmpty (Map k v) → Map k v #

stimesIntegral b ⇒ b → Map k v → Map k v #

Ord k ⇒ IsList (Map k v)

Since: containers-0.5.6.2

Instance details

Defined in Data.Map.Internal

Associated Types

type Item (Map k v) #

Methods

fromList ∷ [Item (Map k v)] → Map k v #

fromListNInt → [Item (Map k v)] → Map k v #

toListMap k v → [Item (Map k v)] #

(Ord k, Read k, Read e) ⇒ Read (Map k e) 
Instance details

Defined in Data.Map.Internal

Methods

readsPrecIntReadS (Map k e) #

readListReadS [Map k e] #

readPrecReadPrec (Map k e) #

readListPrecReadPrec [Map k e] #

(Show k, Show a) ⇒ Show (Map k a) 
Instance details

Defined in Data.Map.Internal

Methods

showsPrecIntMap k a → ShowS #

showMap k a → String #

showList ∷ [Map k a] → ShowS #

(Ord k, FromCBOR k, FromCBOR v) ⇒ FromCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBORDecoder s (Map k v) #

labelProxy (Map k v) → Text #

(Ord k, ToCBOR k, ToCBOR v) ⇒ ToCBOR (Map k v) 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORMap k v → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Map k v) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Map k v] → Size #

(Ord k, DecCBOR k, DecCBOR v) ⇒ DecCBOR (Map k v) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBORDecoder s (Map k v) #

dropCBORProxy (Map k v) → Decoder s () #

labelProxy (Map k v) → Text #

(Ord k, DecCBOR k, DecCBOR v) ⇒ DecShareCBOR (Map k v) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Sharing

Associated Types

type Share (Map k v) #

Methods

getShareMap k v → Share (Map k v) #

decShareCBORShare (Map k v) → Decoder s (Map k v) #

decSharePlusCBORStateT (Share (Map k v)) (Decoder s) (Map k v) #

(Ord k, EncCBOR k, EncCBOR v) ⇒ EncCBOR (Map k v) 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBORMap k v → Encoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy (Map k v) → Size #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Map k v] → Size #

(FromField a, FromField b, Ord a) ⇒ FromNamedRecord (Map a b) 
Instance details

Defined in Data.Csv.Conversion

Methods

parseNamedRecordNamedRecordParser (Map a b) #

(ToField a, ToField b, Ord a) ⇒ ToNamedRecord (Map a b) 
Instance details

Defined in Data.Csv.Conversion

Methods

toNamedRecordMap a b → NamedRecord #

(NFData k, NFData a) ⇒ NFData (Map k a) 
Instance details

Defined in Data.Map.Internal

Methods

rnfMap k a → () #

(Eq k, Eq a) ⇒ Eq (Map k a) 
Instance details

Defined in Data.Map.Internal

Methods

(==)Map k a → Map k a → Bool #

(/=)Map k a → Map k a → Bool #

(Ord k, Ord v) ⇒ Ord (Map k v) 
Instance details

Defined in Data.Map.Internal

Methods

compareMap k v → Map k v → Ordering #

(<)Map k v → Map k v → Bool #

(<=)Map k v → Map k v → Bool #

(>)Map k v → Map k v → Bool #

(>=)Map k v → Map k v → Bool #

maxMap k v → Map k v → Map k v #

minMap k v → Map k v → Map k v #

(Hashable k, Hashable v) ⇒ Hashable (Map k v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntMap k v → Int #

hashMap k v → Int #

(Ord k, FromFormKey k, FromHttpApiData v) ⇒ FromForm (Map k [v]) 
Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

fromFormFormEither Text (Map k [v]) #

(ToFormKey k, ToHttpApiData v) ⇒ ToForm (Map k [v]) 
Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormMap k [v] → Form #

Ord k ⇒ At (Map k a) 
Instance details

Defined in Control.Lens.At

Methods

atIndex (Map k a) → Lens' (Map k a) (Maybe (IxValue (Map k a))) #

Ord k ⇒ Ixed (Map k a) 
Instance details

Defined in Control.Lens.At

Methods

ixIndex (Map k a) → Traversal' (Map k a) (IxValue (Map k a)) #

Ord k ⇒ Wrapped (Map k a) 
Instance details

Defined in Control.Lens.Wrapped

Associated Types

type Unwrapped (Map k a) #

Methods

_Wrapped'Iso' (Map k a) (Unwrapped (Map k a)) #

Ord k ⇒ HasKeysSet (Map k v) 
Instance details

Defined in Data.Containers

Associated Types

type KeySet (Map k v) #

Methods

keysSetMap k v → KeySet (Map k v) #

Ord key ⇒ IsMap (Map key value)

This instance uses the functions from Data.Map.Strict.

Instance details

Defined in Data.Containers

Associated Types

type MapValue (Map key value) #

Methods

lookupContainerKey (Map key value) → Map key value → Maybe (MapValue (Map key value)) #

insertMapContainerKey (Map key value) → MapValue (Map key value) → Map key value → Map key value #

deleteMapContainerKey (Map key value) → Map key value → Map key value #

singletonMapContainerKey (Map key value) → MapValue (Map key value) → Map key value #

mapFromList ∷ [(ContainerKey (Map key value), MapValue (Map key value))] → Map key value #

mapToListMap key value → [(ContainerKey (Map key value), MapValue (Map key value))] #

findWithDefaultMapValue (Map key value) → ContainerKey (Map key value) → Map key value → MapValue (Map key value) #

insertWith ∷ (MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → ContainerKey (Map key value) → MapValue (Map key value) → Map key value → Map key value #

insertWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → ContainerKey (Map key value) → MapValue (Map key value) → Map key value → Map key value #

insertLookupWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → ContainerKey (Map key value) → MapValue (Map key value) → Map key value → (Maybe (MapValue (Map key value)), Map key value) #

adjustMap ∷ (MapValue (Map key value) → MapValue (Map key value)) → ContainerKey (Map key value) → Map key value → Map key value #

adjustWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → ContainerKey (Map key value) → Map key value → Map key value #

updateMap ∷ (MapValue (Map key value) → Maybe (MapValue (Map key value))) → ContainerKey (Map key value) → Map key value → Map key value #

updateWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → Maybe (MapValue (Map key value))) → ContainerKey (Map key value) → Map key value → Map key value #

updateLookupWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → Maybe (MapValue (Map key value))) → ContainerKey (Map key value) → Map key value → (Maybe (MapValue (Map key value)), Map key value) #

alterMap ∷ (Maybe (MapValue (Map key value)) → Maybe (MapValue (Map key value))) → ContainerKey (Map key value) → Map key value → Map key value #

unionWith ∷ (MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → Map key value → Map key value → Map key value #

unionWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → Map key value → Map key value → Map key value #

unionsWith ∷ (MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → [Map key value] → Map key value #

mapWithKey ∷ (ContainerKey (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → Map key value → Map key value #

omapKeysWith ∷ (MapValue (Map key value) → MapValue (Map key value) → MapValue (Map key value)) → (ContainerKey (Map key value) → ContainerKey (Map key value)) → Map key value → Map key value #

filterMap ∷ (MapValue (Map key value) → Bool) → Map key value → Map key value #

Ord k ⇒ SetContainer (Map k v)

This instance uses the functions from Data.Map.Strict.

Instance details

Defined in Data.Containers

Associated Types

type ContainerKey (Map k v) #

Methods

memberContainerKey (Map k v) → Map k v → Bool #

notMemberContainerKey (Map k v) → Map k v → Bool #

unionMap k v → Map k v → Map k v #

unions ∷ (MonoFoldable mono, Element mono ~ Map k v) ⇒ mono → Map k v #

differenceMap k v → Map k v → Map k v #

intersectionMap k v → Map k v → Map k v #

keysMap k v → [ContainerKey (Map k v)] #

Ord k ⇒ GrowingAppend (Map k v) 
Instance details

Defined in Data.MonoTraversable

MonoFoldable (Map k v) 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m ⇒ (Element (Map k v) → m) → Map k v → m #

ofoldr ∷ (Element (Map k v) → b → b) → b → Map k v → b #

ofoldl' ∷ (a → Element (Map k v) → a) → a → Map k v → a #

otoListMap k v → [Element (Map k v)] #

oall ∷ (Element (Map k v) → Bool) → Map k v → Bool #

oany ∷ (Element (Map k v) → Bool) → Map k v → Bool #

onullMap k v → Bool #

olengthMap k v → Int #

olength64Map k v → Int64 #

ocompareLengthIntegral i ⇒ Map k v → i → Ordering #

otraverse_Applicative f ⇒ (Element (Map k v) → f b) → Map k v → f () #

ofor_Applicative f ⇒ Map k v → (Element (Map k v) → f b) → f () #

omapM_Applicative m ⇒ (Element (Map k v) → m ()) → Map k v → m () #

oforM_Applicative m ⇒ Map k v → (Element (Map k v) → m ()) → m () #

ofoldlMMonad m ⇒ (a → Element (Map k v) → m a) → a → Map k v → m a #

ofoldMap1ExSemigroup m ⇒ (Element (Map k v) → m) → Map k v → m #

ofoldr1Ex ∷ (Element (Map k v) → Element (Map k v) → Element (Map k v)) → Map k v → Element (Map k v) #

ofoldl1Ex' ∷ (Element (Map k v) → Element (Map k v) → Element (Map k v)) → Map k v → Element (Map k v) #

headExMap k v → Element (Map k v) #

lastExMap k v → Element (Map k v) #

unsafeHeadMap k v → Element (Map k v) #

unsafeLastMap k v → Element (Map k v) #

maximumByEx ∷ (Element (Map k v) → Element (Map k v) → Ordering) → Map k v → Element (Map k v) #

minimumByEx ∷ (Element (Map k v) → Element (Map k v) → Ordering) → Map k v → Element (Map k v) #

oelemElement (Map k v) → Map k v → Bool #

onotElemElement (Map k v) → Map k v → Bool #

MonoFunctor (Map k v) 
Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element (Map k v) → Element (Map k v)) → Map k v → Map k v #

MonoTraversable (Map k v) 
Instance details

Defined in Data.MonoTraversable

Methods

otraverseApplicative f ⇒ (Element (Map k v) → f (Element (Map k v))) → Map k v → f (Map k v) #

omapMApplicative m ⇒ (Element (Map k v) → m (Element (Map k v))) → Map k v → m (Map k v) #

(NoThunks k, NoThunks v) ⇒ NoThunks (Map k v) 
Instance details

Defined in NoThunks.Class

Methods

noThunksContextMap k v → IO (Maybe ThunkInfo) #

wNoThunksContextMap k v → IO (Maybe ThunkInfo) #

showTypeOfProxy (Map k v) → String #

(ToJSONKey k, ToSchema k, ToSchema v) ⇒ ToSchema (Map k v) 
Instance details

Defined in Data.OpenApi.Internal.Schema

Ord k ⇒ At (Map k a) 
Instance details

Defined in Optics.At.Core

Methods

atIndex (Map k a) → Lens' (Map k a) (Maybe (IxValue (Map k a))) #

Ord k ⇒ Ixed (Map k a) 
Instance details

Defined in Optics.At.Core

Associated Types

type IxKind (Map k a) #

Methods

ixIndex (Map k a) → Optic' (IxKind (Map k a)) NoIx (Map k a) (IxValue (Map k a)) #

(ToJSONKey k, ToSchema k, ToSchema v) ⇒ ToSchema (Map k v) 
Instance details

Defined in Data.Swagger.Internal.Schema

(t ~ Map k' a', Ord k) ⇒ Rewrapped (Map k a) t

Use _Wrapping fromList. unwrapping returns a sorted list.

Instance details

Defined in Control.Lens.Wrapped

Ord k ⇒ Rewrapped (Map k a) (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

Ord k ⇒ Rewrapped (MonoidalMap k a) (Map k a) 
Instance details

Defined in Data.Map.Monoidal

Newtype (MonoidalMap k a) (Map k a) 
Instance details

Defined in Data.Map.Monoidal

Methods

packMap k a → MonoidalMap k a #

unpackMonoidalMap k a → Map k a #

type BPMKeyConstraint Map key 
Instance details

Defined in Data.Containers

type BPMKeyConstraint Map key = Ord key
type Item (Map k v) 
Instance details

Defined in Data.Map.Internal

type Item (Map k v) = (k, v)
type Share (Map k v) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Sharing

type Share (Map k v) = (Interns k, Interns v)
type Index (Map k a) 
Instance details

Defined in Control.Lens.At

type Index (Map k a) = k
type IxValue (Map k a) 
Instance details

Defined in Control.Lens.At

type IxValue (Map k a) = a
type Unwrapped (Map k a) 
Instance details

Defined in Control.Lens.Wrapped

type Unwrapped (Map k a) = [(k, a)]
type ContainerKey (Map k v) 
Instance details

Defined in Data.Containers

type ContainerKey (Map k v) = k
type KeySet (Map k v) 
Instance details

Defined in Data.Containers

type KeySet (Map k v) = Set k
type MapValue (Map key value) 
Instance details

Defined in Data.Containers

type MapValue (Map key value) = value
type Element (Map k v) 
Instance details

Defined in Data.MonoTraversable

type Element (Map k v) = v
type Index (Map k a) 
Instance details

Defined in Optics.At.Core

type Index (Map k a) = k
type IxKind (Map k a) 
Instance details

Defined in Optics.At.Core

type IxValue (Map k a) 
Instance details

Defined in Optics.At.Core

type IxValue (Map k a) = a

type Constraint = CONSTRAINT LiftedRep #

The kind of lifted constraints

data Text #

A space efficient, packed, unboxed Unicode text type.

Instances

Instances details
Structured Text 
Instance details

Defined in Distribution.Utils.Structured

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

Chunk Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

Associated Types

type ChunkElem Text #

FromCBOR Text 
Instance details

Defined in Cardano.Binary.FromCBOR

Methods

fromCBORDecoder s Text #

labelProxy TextText #

ToCBOR Text 
Instance details

Defined in Cardano.Binary.ToCBOR

Methods

toCBORTextEncoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy TextSize #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Text] → Size #

DecCBOR Text 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.DecCBOR

Methods

decCBORDecoder s Text #

dropCBORProxy TextDecoder s () #

labelProxy TextText #

EncCBOR Text 
Instance details

Defined in Cardano.Ledger.Binary.Encoding.EncCBOR

Methods

encCBORTextEncoding #

encodedSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy TextSize #

encodedListSizeExpr ∷ (∀ t. EncCBOR t ⇒ Proxy t → Size) → Proxy [Text] → Size #

FoldCase Text 
Instance details

Defined in Data.CaseInsensitive.Internal

Methods

foldCaseTextText #

foldCaseList ∷ [Text] → [Text]

FromField Text

Assumes UTF-8 encoding. Fails on invalid byte sequences.

Instance details

Defined in Data.Csv.Conversion

Methods

parseFieldFieldParser Text #

ToField Text

Uses UTF-8 encoding.

Instance details

Defined in Data.Csv.Conversion

Methods

toFieldTextField #

Hashable Text 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSaltIntTextInt #

hashTextInt #

FromFormKey Text 
Instance details

Defined in Web.Internal.FormUrlEncoded

ToFormKey Text 
Instance details

Defined in Web.Internal.FormUrlEncoded

Methods

toFormKeyTextText #

FromHttpApiData Text 
Instance details

Defined in Web.Internal.HttpApiData

ToHttpApiData Text 
Instance details

Defined in Web.Internal.HttpApiData

HasPrivacyAnnotation Text 
Instance details

Defined in Cardano.BM.Data.Tracer

HasSeverityAnnotation Text 
Instance details

Defined in Cardano.BM.Data.Tracer

ToObject Text 
Instance details

Defined in Cardano.BM.Data.Tracer

Ixed Text 
Instance details

Defined in Control.Lens.At

AsJSON Text 
Instance details

Defined in Data.Aeson.Lens

Methods

_JSON ∷ (FromJSON a, ToJSON b) ⇒ Prism Text Text a b #

AsNumber Text 
Instance details

Defined in Data.Aeson.Lens

AsValue Text 
Instance details

Defined in Data.Aeson.Lens

IsKey Text 
Instance details

Defined in Data.Aeson.Lens

Methods

_KeyIso' Text Key #

Stream Text 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token Text #

type Tokens Text #

TraversableStream Text 
Instance details

Defined in Text.Megaparsec.Stream

VisualStream Text 
Instance details

Defined in Text.Megaparsec.Stream

MonoZip Text 
Instance details

Defined in Data.Containers

Methods

ozipWith ∷ (Element TextElement TextElement Text) → TextTextText #

ozipTextText → [(Element Text, Element Text)] #

ounzip ∷ [(Element Text, Element Text)] → (Text, Text) #

GrowingAppend Text 
Instance details

Defined in Data.MonoTraversable

MonoFoldable Text 
Instance details

Defined in Data.MonoTraversable

Methods

ofoldMapMonoid m ⇒ (Element Text → m) → Text → m #

ofoldr ∷ (Element Text → b → b) → b → Text → b #

ofoldl' ∷ (a → Element Text → a) → a → Text → a #

otoListText → [Element Text] #

oall ∷ (Element TextBool) → TextBool #

oany ∷ (Element TextBool) → TextBool #

onullTextBool #

olengthTextInt #

olength64TextInt64 #

ocompareLengthIntegral i ⇒ Text → i → Ordering #

otraverse_Applicative f ⇒ (Element Text → f b) → Text → f () #

ofor_Applicative f ⇒ Text → (Element Text → f b) → f () #

omapM_Applicative m ⇒ (Element Text → m ()) → Text → m () #

oforM_Applicative m ⇒ Text → (Element Text → m ()) → m () #

ofoldlMMonad m ⇒ (a → Element Text → m a) → a → Text → m a #

ofoldMap1ExSemigroup m ⇒ (Element Text → m) → Text → m #

ofoldr1Ex ∷ (Element TextElement TextElement Text) → TextElement Text #

ofoldl1Ex' ∷ (Element TextElement TextElement Text) → TextElement Text #

headExTextElement Text #

lastExTextElement Text #

unsafeHeadTextElement Text #

unsafeLastTextElement Text #

maximumByEx ∷ (Element TextElement TextOrdering) → TextElement Text #

minimumByEx ∷ (Element TextElement TextOrdering) → TextElement Text #

oelemElement TextTextBool #

onotElemElement TextTextBool #

MonoFunctor Text 
Instance details

Defined in Data.MonoTraversable

Methods

omap ∷ (Element TextElement Text) → TextText #

MonoPointed Text 
Instance details

Defined in Data.MonoTraversable

Methods

opointElement TextText #

MonoTraversable Text 
Instance details

Defined in Data.MonoTraversable

Methods

otraverseApplicative f ⇒ (Element Text → f (Element Text)) → Text → f Text #

omapMApplicative m ⇒ (Element Text → m (Element Text)) → Text → m Text #

IsSequence Text 
Instance details

Defined in Data.Sequences

Methods

fromList ∷ [Element Text] → Text #

lengthIndexTextIndex Text #

break ∷ (Element TextBool) → Text → (Text, Text) #

span ∷ (Element TextBool) → Text → (Text, Text) #

dropWhile ∷ (Element TextBool) → TextText #

takeWhile ∷ (Element TextBool) → TextText #

splitAtIndex TextText → (Text, Text) #

unsafeSplitAtIndex TextText → (Text, Text) #

takeIndex TextTextText #

unsafeTakeIndex TextTextText #

dropIndex TextTextText #

unsafeDropIndex TextTextText #

dropEndIndex TextTextText #

partition ∷ (Element TextBool) → Text → (Text, Text) #

unconsTextMaybe (Element Text, Text) #

unsnocTextMaybe (Text, Element Text) #

filter ∷ (Element TextBool) → TextText #

filterMMonad m ⇒ (Element Text → m Bool) → Text → m Text #

replicateIndex TextElement TextText #

replicateMMonad m ⇒ Index Text → m (Element Text) → m Text #

groupBy ∷ (Element TextElement TextBool) → Text → [Text] #

groupAllOnEq b ⇒ (Element Text → b) → Text → [Text] #

subsequencesText → [Text] #

permutationsText → [Text] #

tailExTextText #

tailMayTextMaybe Text #

initExTextText #

initMayTextMaybe Text #

unsafeTailTextText #

unsafeInitTextText #

indexTextIndex TextMaybe (Element Text) #

indexExTextIndex TextElement Text #

unsafeIndexTextIndex TextElement Text #

splitWhen ∷ (Element TextBool) → Text → [Text] #

tailsText → [Text] #

initsText → [Text] #

initTailsText → [(Text, Text)] #

SemiSequence Text 
Instance details

Defined in Data.Sequences

Associated Types

type Index Text #

Methods

intersperseElement TextTextText #

reverseTextText #

find ∷ (Element TextBool) → TextMaybe (Element Text) #

sortBy ∷ (Element TextElement TextOrdering) → TextText #

consElement TextTextText #

snocTextElement TextText #

Textual Text 
Instance details

Defined in Data.Sequences

Methods

wordsText → [Text] #

unwords ∷ (Element seq ~ Text, MonoFoldable seq) ⇒ seq → Text #

linesText → [Text] #

unlines ∷ (Element seq ~ Text, MonoFoldable seq) ⇒ seq → Text #

toLowerTextText #

toUpperTextText #

toCaseFoldTextText #

breakWordText → (Text, Text) #

breakLineText → (Text, Text) #

NoThunks Text 
Instance details

Defined in NoThunks.Class

ToParamSchema Text 
Instance details

Defined in Data.OpenApi.Internal.ParamSchema

ToSchema Text 
Instance details

Defined in Data.OpenApi.Internal.Schema

FromField Text

name, text, "char", bpchar, varchar

Instance details

Defined in Database.PostgreSQL.Simple.FromField

ToField Text 
Instance details

Defined in Database.PostgreSQL.Simple.ToField

Methods

toFieldTextAction #

Pretty Text

Automatically converts all newlines to line.

>>> pretty ("hello\nworld" :: Text)
hello
world

Note that line can be undone by group:

>>> group (pretty ("hello\nworld" :: Text))
hello world

Manually use hardline if you definitely want newlines.

Instance details

Defined in Prettyprinter.Internal

Methods

prettyTextDoc ann #

prettyList ∷ [Text] → Doc ann #

ToParamSchema Text 
Instance details

Defined in Data.Swagger.Internal.ParamSchema

Methods

toParamSchema ∷ ∀ (t ∷ SwaggerKind Type). Proxy TextParamSchema t #

ToSchema Text 
Instance details

Defined in Data.Swagger.Internal.Schema

FromText Text 
Instance details

Defined in Data.Text.Class

ToText Text 
Instance details

Defined in Data.Text.Class

Methods

toTextTextText #

Pretty Text 
Instance details

Defined in Text.PrettyPrint.Annotated.WL

Methods

prettyTextDoc b #

prettyList ∷ [Text] → Doc b #

LazySequence Text Text 
Instance details

Defined in Data.Sequences

Methods

toChunksText → [Text0] #

fromChunks ∷ [Text0] → Text #

toStrictTextText0 #

fromStrictText0Text #

Utf8 Text ByteString 
Instance details

Defined in Data.Sequences

HasAuthorizationUrl OAuth2AuthorizationCodeFlow AuthorizationURL 
Instance details

Defined in Data.OpenApi.Lens

HasAuthorizationUrl OAuth2ImplicitFlow AuthorizationURL 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Response Text 
Instance details

Defined in Data.OpenApi.Lens

HasName License Text 
Instance details

Defined in Data.OpenApi.Lens

Methods

nameLens' License Text #

HasName Param Text 
Instance details

Defined in Data.OpenApi.Lens

Methods

nameLens' Param Text #

HasName Tag TagName 
Instance details

Defined in Data.OpenApi.Lens

Methods

nameLens' Tag TagName #

HasPropertyName Discriminator Text 
Instance details

Defined in Data.OpenApi.Lens

HasTitle Info Text 
Instance details

Defined in Data.OpenApi.Lens

Methods

titleLens' Info Text #

HasTokenUrl OAuth2AuthorizationCodeFlow TokenURL 
Instance details

Defined in Data.OpenApi.Lens

HasTokenUrl OAuth2ClientCredentialsFlow TokenURL 
Instance details

Defined in Data.OpenApi.Lens

HasTokenUrl OAuth2PasswordFlow TokenURL 
Instance details

Defined in Data.OpenApi.Lens

HasUrl Server Text 
Instance details

Defined in Data.OpenApi.Lens

Methods

urlLens' Server Text #

HasVersion Info Text 
Instance details

Defined in Data.OpenApi.Lens

Methods

versionLens' Info Text #

FromBuiltin BuiltinString Text 
Instance details

Defined in PlutusTx.Builtins.Class

ToBuiltin Text BuiltinString 
Instance details

Defined in PlutusTx.Builtins.Class

Methods

toBuiltinTextBuiltinString #

DefaultPrettyBy config Text 
Instance details

Defined in Text.PrettyBy.Internal

Methods

defaultPrettyBy ∷ config → TextDoc ann #

defaultPrettyListBy ∷ config → [Text] → Doc ann #

NonDefaultPrettyBy ConstConfig Text 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

PrettyDefaultBy config TextPrettyBy config Text

Automatically converts all newlines to line.

>>> prettyBy () ("hello\nworld" :: Strict.Text)
hello
world
Instance details

Defined in Text.PrettyBy.Internal

Methods

prettyBy ∷ config → TextDoc ann #

prettyListBy ∷ config → [Text] → Doc ann #

StringConv ByteString Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyByteStringText #

StringConv ByteString Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyByteStringText #

StringConv Text ByteString 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyTextByteString #

StringConv Text ByteString 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyTextByteString #

StringConv Text Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyTextText #

StringConv Text Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyText0Text #

StringConv Text String 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyTextString #

StringConv Text Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyTextText0 #

StringConv String Text 
Instance details

Defined in Data.String.Conv

Methods

strConvLeniencyStringText #

HasDescription Response Text 
Instance details

Defined in Data.Swagger.Lens

HasName License Text 
Instance details

Defined in Data.Swagger.Lens

Methods

nameLens' License Text #

HasName Param Text 
Instance details

Defined in Data.Swagger.Lens

Methods

nameLens' Param Text #

HasName Tag TagName 
Instance details

Defined in Data.Swagger.Lens

Methods

nameLens' Tag TagName #

HasTitle Info Text 
Instance details

Defined in Data.Swagger.Lens

Methods

titleLens' Info Text #

HasVersion Info Text 
Instance details

Defined in Data.Swagger.Lens

Methods

versionLens' Info Text #

Transformable Text IO Text 
Instance details

Defined in Cardano.BM.Data.Tracer

Transformable Text IO String 
Instance details

Defined in Cardano.BM.Data.Tracer

Transformable String IO Text 
Instance details

Defined in Cardano.BM.Data.Tracer

KnownBuiltinTypeIn DefaultUni term TextMakeKnownIn DefaultUni term Text 
Instance details

Defined in PlutusCore.Default.Universe

Methods

makeKnownTextBuiltinResult term #

KnownBuiltinTypeIn DefaultUni term TextReadKnownIn DefaultUni term Text 
Instance details

Defined in PlutusCore.Default.Universe

Methods

readKnown ∷ term → ReadKnownM Text #

Contains DefaultUni Text 
Instance details

Defined in PlutusCore.Default.Universe

MimeRender PlainText Text
fromStrict . TextS.encodeUtf8
Instance details

Defined in Servant.API.ContentTypes

MimeUnrender PlainText Text
left show . TextS.decodeUtf8' . toStrict
Instance details

Defined in Servant.API.ContentTypes

KnownBuiltinTypeAst tyname DefaultUni TextKnownTypeAst tyname DefaultUni Text 
Instance details

Defined in PlutusCore.Default.Universe

Associated Types

type IsBuiltin DefaultUni TextBool #

type ToHoles DefaultUni Text ∷ [Hole] #

type ToBinds DefaultUni acc Text ∷ [Some TyNameRep] #

Methods

toTypeAst ∷ proxy TextType tyname DefaultUni () #

HasCallbacks Components (Definitions Callback) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Example (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription ExternalDocs (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Header (Maybe HeaderName) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Info (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Link (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Operation (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Param (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription PathItem (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription RequestBody (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Schema (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription SecurityScheme (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Server (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasDescription Tag (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasEmail Contact (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

emailLens' Contact (Maybe Text) #

HasExamples Components (Definitions Example) 
Instance details

Defined in Data.OpenApi.Lens

HasFormat Schema (Maybe Format) 
Instance details

Defined in Data.OpenApi.Lens

HasSchema s SchemaHasFormat s (Maybe Format) 
Instance details

Defined in Data.OpenApi.Lens

Methods

formatLens' s (Maybe Format) #

HasHeaders Components (Definitions Header) 
Instance details

Defined in Data.OpenApi.Lens

HasLinks Components (Definitions Link) 
Instance details

Defined in Data.OpenApi.Lens

HasName Contact (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

nameLens' Contact (Maybe Text) #

HasName NamedSchema (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasName Xml (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

nameLens' Xml (Maybe Text) #

HasNamespace Xml (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

namespaceLens' Xml (Maybe Text) #

HasOperationId Link (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasOperationId Operation (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasOperationRef Link (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasParameters Components (Definitions Param) 
Instance details

Defined in Data.OpenApi.Lens

HasPattern Schema (Maybe Pattern) 
Instance details

Defined in Data.OpenApi.Lens

HasSchema s SchemaHasPattern s (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

patternLens' s (Maybe Text) #

HasPrefix Xml (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

prefixLens' Xml (Maybe Text) #

HasRequestBodies Components (Definitions RequestBody) 
Instance details

Defined in Data.OpenApi.Lens

HasRequired Schema [ParamName] 
Instance details

Defined in Data.OpenApi.Lens

HasResponses Components (Definitions Response) 
Instance details

Defined in Data.OpenApi.Lens

HasSchemas Components (Definitions Schema) 
Instance details

Defined in Data.OpenApi.Lens

HasSummary Example (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasSummary Operation (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasSummary PathItem (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasTags Operation (InsOrdHashSet TagName) 
Instance details

Defined in Data.OpenApi.Lens

HasTermsOfService Info (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

HasTitle Schema (Maybe Text) 
Instance details

Defined in Data.OpenApi.Lens

Methods

titleLens' Schema (Maybe Text) #

HasDefinitions Swagger (Definitions Schema) 
Instance details

Defined in Data.Swagger.Lens

HasDescription ExternalDocs (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Header (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Info (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Operation (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Param (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Schema (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription SecurityScheme (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDescription Tag (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasDiscriminator Schema (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasEmail Contact (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

emailLens' Contact (Maybe Text) #

HasParamSchema s (ParamSchema t) ⇒ HasFormat s (Maybe Format) 
Instance details

Defined in Data.Swagger.Lens

Methods

formatLens' s (Maybe Format) #

HasName Contact (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

nameLens' Contact (Maybe Text) #

HasName NamedSchema (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasName Xml (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

nameLens' Xml (Maybe Text) #

HasNamespace Xml (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

namespaceLens' Xml (Maybe Text) #

HasOperationId Operation (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasParameters Swagger (Definitions Param) 
Instance details

Defined in Data.Swagger.Lens

HasParamSchema s (ParamSchema t) ⇒ HasPattern s (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

patternLens' s (Maybe Text) #

HasPrefix Xml (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

prefixLens' Xml (Maybe Text) #

HasRequired Schema [ParamName] 
Instance details

Defined in Data.Swagger.Lens

HasResponses Swagger (Definitions Response) 
Instance details

Defined in Data.Swagger.Lens

HasSummary Operation (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasTags Operation (InsOrdHashSet TagName) 
Instance details

Defined in Data.Swagger.Lens

HasTermsOfService Info (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

HasTitle Schema (Maybe Text) 
Instance details

Defined in Data.Swagger.Lens

Methods

titleLens' Schema (Maybe Text) #

HasCallbacks Operation (InsOrdHashMap Text (Referenced Callback)) 
Instance details

Defined in Data.OpenApi.Lens

HasEncoding MediaTypeObject (InsOrdHashMap Text Encoding) 
Instance details

Defined in Data.OpenApi.Lens

HasExamples Header (InsOrdHashMap Text (Referenced Example)) 
Instance details

Defined in Data.OpenApi.Lens

HasExamples MediaTypeObject (InsOrdHashMap Text (Referenced Example)) 
Instance details

Defined in Data.OpenApi.Lens

HasExamples Param (InsOrdHashMap Text (Referenced Example)) 
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Encoding (InsOrdHashMap Text (Referenced Header)) 
Instance details

Defined in Data.OpenApi.Lens

HasHeaders Response (InsOrdHashMap HeaderName (Referenced Header)) 
Instance details

Defined in Data.OpenApi.Lens

HasLinks Response (InsOrdHashMap Text (Referenced Link)) 
Instance details

Defined in Data.OpenApi.Lens

HasMapping Discriminator (InsOrdHashMap Text Text) 
Instance details

Defined in Data.OpenApi.Lens

HasParameters Link (InsOrdHashMap Text ExpressionOrValue) 
Instance details

Defined in Data.OpenApi.Lens

HasProperties Schema (InsOrdHashMap Text (Referenced Schema)) 
Instance details

Defined in Data.OpenApi.Lens

HasVariables Server (InsOrdHashMap Text ServerVariable) 
Instance details

Defined in Data.OpenApi.Lens

HasExtensions Operation (InsOrdHashMap Text Value) 
Instance details

Defined in Data.Swagger.Lens

HasHeaders Response (InsOrdHashMap HeaderName Header) 
Instance details

Defined in Data.Swagger.Lens

HasProperties Schema (InsOrdHashMap Text (Referenced Schema)) 
Instance details

Defined in Data.Swagger.Lens

Stream (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token (NoShareInput Text) #

type Tokens (NoShareInput Text) #

Stream (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token (ShareInput Text) #

type Tokens (ShareInput Text) #

FromField (CI Text)

citext

Instance details

Defined in Database.PostgreSQL.Simple.FromField

ToField (CI Text)

citext

Instance details

Defined in Database.PostgreSQL.Simple.ToField

Methods

toFieldCI TextAction #

HasFormat (ParamSchema t) (Maybe Format) 
Instance details

Defined in Data.Swagger.Lens

HasPattern (ParamSchema t) (Maybe Pattern) 
Instance details

Defined in Data.Swagger.Lens

FromJSON (Text, Metric) 
Instance details

Defined in Blockfrost.Types.Common

ToJSON (Text, Metric) 
Instance details

Defined in Blockfrost.Types.Common

ToSample (Text, Metric) 
Instance details

Defined in Blockfrost.Types.Common

Methods

toSamplesProxy (Text, Metric) → [(Text, (Text, Metric))] #

type ChunkElem Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

type State Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

type State Text = Buffer
type Item Text 
Instance details

Defined in Data.Text

type Item Text = Char
type Index Text 
Instance details

Defined in Control.Lens.At

type Index Text = Int
type IxValue Text 
Instance details

Defined in Control.Lens.At

type Token Text 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens Text 
Instance details

Defined in Text.Megaparsec.Stream

type Element Text 
Instance details

Defined in Data.MonoTraversable

type Index Text 
Instance details

Defined in Data.Sequences

type Index Text = Int
type Index Text 
Instance details

Defined in Optics.At

type Index Text = Int
type IxKind Text 
Instance details

Defined in Optics.At

type IxValue Text 
Instance details

Defined in Optics.At

type IsBuiltin DefaultUni Text 
Instance details

Defined in PlutusCore.Default.Universe

type ToHoles DefaultUni Text 
Instance details

Defined in PlutusCore.Default.Universe

type ToBinds DefaultUni acc Text 
Instance details

Defined in PlutusCore.Default.Universe

type Token (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Token (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

class Contravariant (f ∷ TypeType) where #

The class of contravariant functors.

Whereas in Haskell, one can think of a Functor as containing or producing values, a contravariant functor is a functor that can be thought of as consuming values.

As an example, consider the type of predicate functions a -> Bool. One such predicate might be negative x = x < 0, which classifies integers as to whether they are negative. However, given this predicate, we can re-use it in other situations, providing we have a way to map values to integers. For instance, we can use the negative predicate on a person's bank balance to work out if they are currently overdrawn:

newtype Predicate a = Predicate { getPredicate :: a -> Bool }

instance Contravariant Predicate where
  contramap :: (a' -> a) -> (Predicate a -> Predicate a')
  contramap f (Predicate p) = Predicate (p . f)
                                         |   `- First, map the input...
                                         `----- then apply the predicate.

overdrawn :: Predicate Person
overdrawn = contramap personBankBalance negative

Any instance should be subject to the following laws:

Identity
contramap id = id
Composition
contramap (g . f) = contramap f . contramap g

Note, that the second law follows from the free theorem of the type of contramap and the first law, so you need only check that the former condition holds.

Minimal complete definition

contramap

Methods

contramap ∷ (a' → a) → f a → f a' #

(>$) ∷ b → f b → f a infixl 4 #

Replace all locations in the output with the same value. The default definition is contramap . const, but this may be overridden with a more efficient version.

Instances

Instances details
Contravariant ToJSONKeyFunction 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

contramap ∷ (a' → a) → ToJSONKeyFunction a → ToJSONKeyFunction a' #

(>$) ∷ b → ToJSONKeyFunction b → ToJSONKeyFunction a #

Contravariant Comparison

A Comparison is a Contravariant Functor, because contramap can apply its function argument to each input of the comparison function.

Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Comparison a → Comparison a' #

(>$) ∷ b → Comparison b → Comparison a #

Contravariant Equivalence

Equivalence relations are Contravariant, because you can apply the contramapped function to each input to the equivalence relation.

Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Equivalence a → Equivalence a' #

(>$) ∷ b → Equivalence b → Equivalence a #

Contravariant Predicate

A Predicate is a Contravariant Functor, because contramap can apply its function argument to the input of the predicate.

Without newtypes contramap f equals precomposing with f (= (. f)).

contramap :: (a' -> a) -> (Predicate a -> Predicate a')
contramap f (Predicate g) = Predicate (g . f)
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Predicate a → Predicate a' #

(>$) ∷ b → Predicate b → Predicate a #

Contravariant (Op a) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a0) → Op a a0 → Op a a' #

(>$) ∷ b → Op a b → Op a a0 #

Contravariant (ProxyTypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Proxy a → Proxy a' #

(>$) ∷ b → Proxy b → Proxy a #

Contravariant (U1TypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → U1 a → U1 a' #

(>$) ∷ b → U1 b → U1 a #

Contravariant (V1TypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → V1 a → V1 a' #

(>$) ∷ b → V1 b → V1 a #

Contravariant (Tracer m) 
Instance details

Defined in Control.Tracer

Methods

contramap ∷ (a' → a) → Tracer m a → Tracer m a' #

(>$) ∷ b → Tracer m b → Tracer m a #

Contravariant f ⇒ Contravariant (Indexing f) 
Instance details

Defined in Control.Lens.Internal.Indexed

Methods

contramap ∷ (a' → a) → Indexing f a → Indexing f a' #

(>$) ∷ b → Indexing f b → Indexing f a #

Contravariant f ⇒ Contravariant (Indexing64 f) 
Instance details

Defined in Control.Lens.Internal.Indexed

Methods

contramap ∷ (a' → a) → Indexing64 f a → Indexing64 f a' #

(>$) ∷ b → Indexing64 f b → Indexing64 f a #

Contravariant m ⇒ Contravariant (FirstToFinish m) 
Instance details

Defined in Data.Monoid.Synchronisation

Methods

contramap ∷ (a' → a) → FirstToFinish m a → FirstToFinish m a' #

(>$) ∷ b → FirstToFinish m b → FirstToFinish m a #

Monad m ⇒ Contravariant (Trace m)

Contramap lifted to Trace

Instance details

Defined in Cardano.Logging.Types

Methods

contramap ∷ (a' → a) → Trace m a → Trace m a' #

(>$) ∷ b → Trace m b → Trace m a #

Contravariant m ⇒ Contravariant (MaybeT m) 
Instance details

Defined in Control.Monad.Trans.Maybe

Methods

contramap ∷ (a' → a) → MaybeT m a → MaybeT m a' #

(>$) ∷ b → MaybeT m b → MaybeT m a #

Contravariant (Const a ∷ TypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a0) → Const a a0 → Const a a' #

(>$) ∷ b → Const a b → Const a a0 #

Contravariant f ⇒ Contravariant (Alt f) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Alt f a → Alt f a' #

(>$) ∷ b → Alt f b → Alt f a #

Contravariant f ⇒ Contravariant (Rec1 f) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Rec1 f a → Rec1 f a' #

(>$) ∷ b → Rec1 f b → Rec1 f a #

Contravariant f ⇒ Contravariant (Backwards f)

Derived instance.

Instance details

Defined in Control.Applicative.Backwards

Methods

contramap ∷ (a' → a) → Backwards f a → Backwards f a' #

(>$) ∷ b → Backwards f b → Backwards f a #

Contravariant m ⇒ Contravariant (ExceptT e m) 
Instance details

Defined in Control.Monad.Trans.Except

Methods

contramap ∷ (a' → a) → ExceptT e m a → ExceptT e m a' #

(>$) ∷ b → ExceptT e m b → ExceptT e m a #

Contravariant f ⇒ Contravariant (IdentityT f) 
Instance details

Defined in Control.Monad.Trans.Identity

Methods

contramap ∷ (a' → a) → IdentityT f a → IdentityT f a' #

(>$) ∷ b → IdentityT f b → IdentityT f a #

Contravariant m ⇒ Contravariant (ReaderT r m) 
Instance details

Defined in Control.Monad.Trans.Reader

Methods

contramap ∷ (a' → a) → ReaderT r m a → ReaderT r m a' #

(>$) ∷ b → ReaderT r m b → ReaderT r m a #

Contravariant m ⇒ Contravariant (StateT s m) 
Instance details

Defined in Control.Monad.Trans.State.Lazy

Methods

contramap ∷ (a' → a) → StateT s m a → StateT s m a' #

(>$) ∷ b → StateT s m b → StateT s m a #

Contravariant m ⇒ Contravariant (StateT s m) 
Instance details

Defined in Control.Monad.Trans.State.Strict

Methods

contramap ∷ (a' → a) → StateT s m a → StateT s m a' #

(>$) ∷ b → StateT s m b → StateT s m a #

Contravariant m ⇒ Contravariant (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Lazy

Methods

contramap ∷ (a' → a) → WriterT w m a → WriterT w m a' #

(>$) ∷ b → WriterT w m b → WriterT w m a #

Contravariant m ⇒ Contravariant (WriterT w m) 
Instance details

Defined in Control.Monad.Trans.Writer.Strict

Methods

contramap ∷ (a' → a) → WriterT w m a → WriterT w m a' #

(>$) ∷ b → WriterT w m b → WriterT w m a #

Contravariant (Constant a ∷ TypeType) 
Instance details

Defined in Data.Functor.Constant

Methods

contramap ∷ (a' → a0) → Constant a a0 → Constant a a' #

(>$) ∷ b → Constant a b → Constant a a0 #

Contravariant f ⇒ Contravariant (Reverse f)

Derived instance.

Instance details

Defined in Data.Functor.Reverse

Methods

contramap ∷ (a' → a) → Reverse f a → Reverse f a' #

(>$) ∷ b → Reverse f b → Reverse f a #

(Contravariant f, Contravariant g) ⇒ Contravariant (Product f g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Product f g a → Product f g a' #

(>$) ∷ b → Product f g b → Product f g a #

(Contravariant f, Contravariant g) ⇒ Contravariant (Sum f g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Sum f g a → Sum f g a' #

(>$) ∷ b → Sum f g b → Sum f g a #

(Contravariant f, Contravariant g) ⇒ Contravariant (f :*: g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → (f :*: g) a → (f :*: g) a' #

(>$) ∷ b → (f :*: g) b → (f :*: g) a #

(Contravariant f, Contravariant g) ⇒ Contravariant (f :+: g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → (f :+: g) a → (f :+: g) a' #

(>$) ∷ b → (f :+: g) b → (f :+: g) a #

Contravariant (K1 i c ∷ TypeType) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → K1 i c a → K1 i c a' #

(>$) ∷ b → K1 i c b → K1 i c a #

(Functor f, Contravariant g) ⇒ Contravariant (Compose f g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → Compose f g a → Compose f g a' #

(>$) ∷ b → Compose f g b → Compose f g a #

(Functor f, Contravariant g) ⇒ Contravariant (f :.: g) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → (f :.: g) a → (f :.: g) a' #

(>$) ∷ b → (f :.: g) b → (f :.: g) a #

Contravariant f ⇒ Contravariant (M1 i c f) 
Instance details

Defined in Data.Functor.Contravariant

Methods

contramap ∷ (a' → a) → M1 i c f a → M1 i c f a' #

(>$) ∷ b → M1 i c f b → M1 i c f a #

Contravariant m ⇒ Contravariant (RWST r w s m) 
Instance details

Defined in Control.Monad.Trans.RWS.Lazy

Methods

contramap ∷ (a' → a) → RWST r w s m a → RWST r w s m a' #

(>$) ∷ b → RWST r w s m b → RWST r w s m a #

Contravariant m ⇒ Contravariant (RWST r w s m) 
Instance details

Defined in Control.Monad.Trans.RWS.Strict

Methods

contramap ∷ (a' → a) → RWST r w s m a → RWST r w s m a' #

(>$) ∷ b → RWST r w s m b → RWST r w s m a #

class FromJSON a where #

A type that can be converted from JSON, with the possibility of failure.

In many cases, you can get the compiler to generate parsing code for you (see below). To begin, let's cover writing an instance by hand.

There are various reasons a conversion could fail. For example, an Object could be missing a required key, an Array could be of the wrong size, or a value could be of an incompatible type.

The basic ways to signal a failed conversion are as follows:

  • fail yields a custom error message: it is the recommended way of reporting a failure;
  • empty (or mzero) is uninformative: use it when the error is meant to be caught by some (<|>);
  • typeMismatch can be used to report a failure when the encountered value is not of the expected JSON type; unexpected is an appropriate alternative when more than one type may be expected, or to keep the expected type implicit.

prependFailure (or modifyFailure) add more information to a parser's error messages.

An example type and instance using typeMismatch and prependFailure:

-- Allow ourselves to write Text literals.
{-# LANGUAGE OverloadedStrings #-}

data Coord = Coord { x :: Double, y :: Double }

instance FromJSON Coord where
    parseJSON (Object v) = Coord
        <$> v .: "x"
        <*> v .: "y"

    -- We do not expect a non-Object value here.
    -- We could use empty to fail, but typeMismatch
    -- gives a much more informative error message.
    parseJSON invalid    =
        prependFailure "parsing Coord failed, "
            (typeMismatch "Object" invalid)

For this common case of only being concerned with a single type of JSON value, the functions withObject, withScientific, etc. are provided. Their use is to be preferred when possible, since they are more terse. Using withObject, we can rewrite the above instance (assuming the same language extension and data type) as:

instance FromJSON Coord where
    parseJSON = withObject "Coord" $ \v -> Coord
        <$> v .: "x"
        <*> v .: "y"

Instead of manually writing your FromJSON instance, there are two options to do it automatically:

  • Data.Aeson.TH provides Template Haskell functions which will derive an instance at compile time. The generated instance is optimized for your type so it will probably be more efficient than the following option.
  • The compiler can provide a default generic implementation for parseJSON.

To use the second, simply add a deriving Generic clause to your datatype and declare a FromJSON instance for your datatype without giving a definition for parseJSON.

For example, the previous example can be simplified to just:

{-# LANGUAGE DeriveGeneric #-}

import GHC.Generics

data Coord = Coord { x :: Double, y :: Double } deriving Generic

instance FromJSON Coord

or using the DerivingVia extension

deriving via Generically Coord instance FromJSON Coord

The default implementation will be equivalent to parseJSON = genericParseJSON defaultOptions; if you need different options, you can customize the generic decoding by defining:

customOptions = defaultOptions
                { fieldLabelModifier = map toUpper
                }

instance FromJSON Coord where
    parseJSON = genericParseJSON customOptions

Minimal complete definition

Nothing

Methods

parseJSONValueParser a #

parseJSONListValueParser [a] #

omittedFieldMaybe a #

Default value for optional fields. Used by (.:?=) operator, and Generics and TH deriving with allowOmittedFields = True (default).

Since: aeson-2.2.0.0

Instances

Instances details
FromJSON Key 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Value 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON GYCoreConfig # 
Instance details

Defined in GeniusYield.GYConfig

FromJSON GYCoreProviderInfo # 
Instance details

Defined in GeniusYield.GYConfig

FromJSON GYAddress #

In JSON context addresses are represented in hex.

>>> Aeson.decode @GYAddress "\"00e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d1b930e9f7add78a174a21000e989ff551366dcd127028cb2aa39f616\""
Just (unsafeAddressFromText "addr_test1qrsuhwqdhz0zjgnf46unas27h93amfghddnff8lpc2n28rgmjv8f77ka0zshfgssqr5cnl64zdnde5f8q2xt923e7ctqu49mg5")
Instance details

Defined in GeniusYield.Types.Address

FromJSON GYAddressBech32 #
>>> Aeson.decode @GYAddressBech32 "\"addr_test1qrsuhwqdhz0zjgnf46unas27h93amfghddnff8lpc2n28rgmjv8f77ka0zshfgssqr5cnl64zdnde5f8q2xt923e7ctqu49mg5\""
Just (unsafeAddressFromText "addr_test1qrsuhwqdhz0zjgnf46unas27h93amfghddnff8lpc2n28rgmjv8f77ka0zshfgssqr5cnl64zdnde5f8q2xt923e7ctqu49mg5")
Instance details

Defined in GeniusYield.Types.Address

FromJSON GYStakeAddress #

In JSON context, stake addresses are represented in hex.

>>> Aeson.decode @GYStakeAddress "\"e07a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d\""
Just (unsafeStakeAddressFromText "stake_test1upa805fqh85x4hw88zxmhvdaydgyjzmazs9tydqrscerxnghfq4t3")
Instance details

Defined in GeniusYield.Types.Address

FromJSON GYStakeAddressBech32 #
>>> Aeson.decode @GYStakeAddressBech32 "\"stake_test1upa805fqh85x4hw88zxmhvdaydgyjzmazs9tydqrscerxnghfq4t3\""
Just (unsafeStakeAddressFromText "stake_test1upa805fqh85x4hw88zxmhvdaydgyjzmazs9tydqrscerxnghfq4t3")
Instance details

Defined in GeniusYield.Types.Address

FromJSON GYDatumHash # 
Instance details

Defined in GeniusYield.Types.Datum

FromJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

FromJSON GYPaymentSigningKey #
>>> Aeson.eitherDecode @GYPaymentSigningKey "\"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290\""
Right (GYPaymentSigningKey "5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290")
>>> Aeson.eitherDecode @GYPaymentSigningKey "\"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fceczzz\""
Left "Error in $: invalid character at offset: 65"
Instance details

Defined in GeniusYield.Types.Key

FromJSON GYPaymentVerificationKey #
>>> Aeson.eitherDecode @GYPaymentVerificationKey "\"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605\""
Right (GYPaymentVerificationKey "0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605")
>>> Aeson.eitherDecode @GYPaymentVerificationKey "\"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193zzz\""
Left "Error in $: invalid character at offset: 65"
Instance details

Defined in GeniusYield.Types.Key

FromJSON GYStakeSigningKey #
>>> Aeson.eitherDecode @GYStakeSigningKey "\"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290\""
Right (GYStakeSigningKey "5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290")
>>> Aeson.eitherDecode @GYStakeSigningKey "\"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fceczzz\""
Left "Error in $: invalid character at offset: 65"
Instance details

Defined in GeniusYield.Types.Key

FromJSON GYStakeVerificationKey #
>>> Aeson.eitherDecode @GYStakeVerificationKey "\"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605\""
Right (GYStakeVerificationKey "0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605")
>>> Aeson.eitherDecode @GYStakeVerificationKey "\"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193zzz\""
Left "Error in $: invalid character at offset: 65"
Instance details

Defined in GeniusYield.Types.Key

FromJSON GYLogScribeConfig #
>>> Aeson.decode @GYLogScribeConfig "{\"severity\":\"Warning\",\"verbosity\":\"V1\",\"type\":{\"tag\":\"gySource\",\"source\":\"log.txt\"}}"
Just (GYLogScribeConfig {cfgLogType = GYCustomSourceScribe (LogSrc log.txt), cfgLogSeverity = GYWarning, cfgLogVerbosity = GYLogVerbosity V1})
Instance details

Defined in GeniusYield.Types.Logging

FromJSON GYLogScribeType #
>>> Aeson.eitherDecode @GYLogScribeType "{\"tag\":\"stderr\"}"
Right GYStdErrScribe
>>> Aeson.eitherDecode @GYLogScribeType "{\"tag\":\"gySource\",\"source\":\"log.txt\"}"
Right (GYCustomSourceScribe (LogSrc log.txt))
>>> Aeson.eitherDecode @GYLogScribeType "{\"tag\":\"gySource\",\"source\":\"https://pub:[email protected]:8443/sentry/example_project\"}"
Right (GYCustomSourceScribe (LogSrc https://pub:[email protected]:8443/sentry/example_project))
>>> Aeson.eitherDecode @GYLogScribeType "{\"tag\":\"fancy-scribe\"}"
Left "Error in $: unknown GYLogScribe tag: fancy-scribe"
Instance details

Defined in GeniusYield.Types.Logging

FromJSON GYLogSeverity #
>>> Aeson.eitherDecode @GYLogSeverity "\"Debug\""
Right GYDebug
>>> Aeson.eitherDecode @GYLogSeverity "\"Info\""
Right GYInfo
>>> Aeson.eitherDecode @GYLogSeverity "\"Warning\""
Right GYWarning
>>> Aeson.eitherDecode @GYLogSeverity "\"Error\""
Right GYError
>>> Aeson.eitherDecode @GYLogSeverity "\"Fatal\""
Left "Error in $: unknown GYLogSeverity: Fatal"
Instance details

Defined in GeniusYield.Types.Logging

FromJSON GYLogVerbosity # 
Instance details

Defined in GeniusYield.Types.Logging

FromJSON LogSrc # 
Instance details

Defined in GeniusYield.Types.Logging

FromJSON GYNatural #
>>> Aeson.decode @GYNatural "\"123\""
Just (GYNatural 123)
>>> Aeson.eitherDecode @GYNatural "\"-123\""
Left "Error in $: underflow: -123 (should be a non-negative integer)"
>>> Aeson.eitherDecode @GYNatural "\"+123\""
Right (GYNatural 123)
>>> Aeson.eitherDecode @GYNatural "\"9223372036854775807\""
Right (GYNatural 9223372036854775807)
>>> Aeson.eitherDecode @GYNatural "\"123456789123456789123456789123456789123456789\""
Right (GYNatural 123456789123456789123456789123456789123456789)
>>> Aeson.eitherDecode @GYNatural "\"0011\""
Right (GYNatural 11)
>>> Aeson.eitherDecode @GYNatural "\"0f11\""
Left "Error in $: could not parse: `0f11'"
>>> Aeson.eitherDecode @GYNatural "\"-123456789123456789123456789123456789123456789\""
Left "Error in $: underflow: -123456789123456789123456789123456789123456789 (should be a non-negative integer)"
Instance details

Defined in GeniusYield.Types.Natural

FromJSON GYNetworkId #
>>> Aeson.eitherDecode @GYNetworkId <$> ["\"mainnet\"", "\"testnet-preprod\"", "\"preprod\"", "\"testnet-preview\"", "\"preview\"", "\"testnet\"", "\"no-such-net\""]
[Right GYMainnet,Right GYTestnetPreprod,Right GYTestnetPreprod,Right GYTestnetPreview,Right GYTestnetPreview,Right GYTestnetLegacy,Left "Error in $: Expected mainnet, testnet-preprod, preprod, testnet-preview, preview or testnet"]
Instance details

Defined in GeniusYield.Types.NetworkId

FromJSON GYNetworkInfo # 
Instance details

Defined in GeniusYield.Types.NetworkId

FromJSON GYPaymentKeyHash #
>>> Aeson.eitherDecode @GYPaymentKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d\""
Right (GYPaymentKeyHash "e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d")

Invalid characters:

>>> Aeson.eitherDecode @GYPaymentKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6azzz\""
Left "Error in $: RawBytesHexErrorBase16DecodeFail \"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6azzz\" \"invalid character at offset: 53\""
Instance details

Defined in GeniusYield.Types.PaymentKeyHash

FromJSON GYPubKeyHash #
>>> Aeson.eitherDecode @GYPubKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d\""
Right (GYPubKeyHash "e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d")

Invalid characters:

>>> Aeson.eitherDecode @GYPubKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6azzz\""
Left "Error in $: RawBytesHexErrorBase16DecodeFail \"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6azzz\" \"invalid character at offset: 53\""
Instance details

Defined in GeniusYield.Types.PubKeyHash

FromJSON GYRational #
>>> Aeson.decode @GYRational "\"0.123\""
Just (GYRational (123 % 1000))
>>> Aeson.eitherDecode @GYRational "\"Haskell\""
Left "Error in $: could not parse: `Haskell' (input does not start with a digit)"
Instance details

Defined in GeniusYield.Types.Rational

FromJSON GYMintingPolicyId # 
Instance details

Defined in GeniusYield.Types.Script

FromJSON GYScriptHash # 
Instance details

Defined in GeniusYield.Types.Script.ScriptHash

FromJSON GYSimpleScript # 
Instance details

Defined in GeniusYield.Types.Script.SimpleScript

FromJSON GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

FromJSON GYStakeKeyHash #
>>> Aeson.eitherDecode @GYStakeKeyHash "\"7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d\""
Right (GYStakeKeyHash "7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d")

Invalid characters:

>>> Aeson.eitherDecode @GYStakeKeyHash "\"7a77d120b9e86addc7388dbbb1bd2350490b7d140ab2340386323zzz\""
Left "Error in $: RawBytesHexErrorBase16DecodeFail \"7a77d120b9e86addc7388dbbb1bd2350490b7d140ab2340386323zzz\" \"invalid character at offset: 53\""
Instance details

Defined in GeniusYield.Types.StakeKeyHash

FromJSON GYStakePoolId #
>>> Aeson.eitherDecode @GYStakePoolId "\"c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fd27\""
Right (unsafeStakePoolIdFromText "pool1cjz6kg9a8ug9uk0nc59q60a67c2628ms58rd98gq587jwa2x5qt")

Invalid characters:

>>> Aeson.eitherDecode @GYStakePoolId "\"c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fzzz\""
Left "Error in $: RawBytesHexErrorBase16DecodeFail \"c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fzzz\" \"invalid character at offset: 53\""
Instance details

Defined in GeniusYield.Types.StakePoolId

FromJSON GYStakePoolIdBech32 #
>>> Aeson.decode @GYStakePoolIdBech32 "\"pool1cjz6kg9a8ug9uk0nc59q60a67c2628ms58rd98gq587jwa2x5qt\""
Just pool1cjz6kg9a8ug9uk0nc59q60a67c2628ms58rd98gq587jwa2x5qt
Instance details

Defined in GeniusYield.Types.StakePoolId

FromJSON GYTime #
>>> Aeson.eitherDecode @GYTime "\"1970-01-01T00:00:00Z\""
Right (GYTime 0s)
>>> Aeson.eitherDecode @GYTime "\"1970-01-01T00:00:00\""
Left "Error in $: can't parse '1970-01-01T00:00:00' as GYTime in ISO8601 format"
Instance details

Defined in GeniusYield.Types.Time

FromJSON GYTx #
>>> txToApi <$> (Aeson.fromJSON @GYTx $ Aeson.toJSON tx)
Success (ShelleyTx ShelleyBasedEraBabbage (AlonzoTx {body = TxBodyConstr BabbageTxBodyRaw {btbrSpendInputs = fromList [TxIn (TxId {unTxId = SafeHash "975e4c7f8d7937f8102e500714feb3f014c8766fcf287a11c10c686154fcb275"}) (TxIx 1),TxIn (TxId {unTxId = SafeHash "c887cba672004607a0f60ab28091d5c24860dbefb92b1a8776272d752846574f"}) (TxIx 0)], btbrCollateralInputs = fromList [TxIn (TxId {unTxId = SafeHash "7a67cd033169e330c9ae9b8d0ef8b71de9eb74bbc8f3f6be90446dab7d1e8bfd"}) (TxIx 0)], btbrReferenceInputs = fromList [], btbrOutputs = StrictSeq {fromStrict = fromList [Sized {sizedValue = (Addr Testnet (KeyHashObj (KeyHash "fd040c7a10744b79e5c80ec912a05dbdb3009e372b7f4b0f026d16b0")) (StakeRefBase (KeyHashObj (KeyHash "c663651ffc046068455d2994564ba9d4b3e9b458ad8ab5232aebbf40"))),MaryValue (Coin 448448472) (MultiAsset (fromList [])),NoDatum,SNothing), sizedSize = 65},Sized {sizedValue = (Addr Testnet (KeyHashObj (KeyHash "fd040c7a10744b79e5c80ec912a05dbdb3009e372b7f4b0f026d16b0")) (StakeRefBase (KeyHashObj (KeyHash "c663651ffc046068455d2994564ba9d4b3e9b458ad8ab5232aebbf40"))),MaryValue (Coin 1551690) (MultiAsset (fromList [(PolicyID {policyID = ScriptHash "a6bb5fd825455e7c69bdaa9d3a6dda9bcbe9b570bc79bd55fa50889b"},fromList [("6e69636b656c",4567)]),(PolicyID {policyID = ScriptHash "b17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6f"},fromList [("53696c6c69636f6e",600)])])),NoDatum,SNothing), sizedSize = 151}]}, btbrCollateralReturn = SNothing, btbrTotalCollateral = SNothing, btbrCerts = StrictSeq {fromStrict = fromList []}, btbrWithdrawals = Withdrawals {unWithdrawals = fromList []}, btbrTxFee = Coin 470844, btbrValidityInterval = ValidityInterval {invalidBefore = SNothing, invalidHereafter = SNothing}, btbrUpdate = SNothing, btbrReqSignerHashes = fromList [], btbrMint = MultiAsset (fromList [(PolicyID {policyID = ScriptHash "b17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6f"},fromList [("53696c6c69636f6e",600)])]), btbrScriptIntegrityHash = SJust (SafeHash "291b4e4c5f189cb896674e02e354028915b11889687c53d9cf4c1c710ff5e4ae"), btbrAuxDataHash = SNothing, btbrTxNetworkId = SNothing} (blake2b_256: SafeHash "a5e1d764a1bb1e8fab4bb5b8529410bf12517937dac87cbbfec7d59044d16e39"), wits = AlonzoTxWitsRaw {atwrAddrTxWits = fromList [], atwrBootAddrTxWits = fromList [], atwrScriptTxWits = fromList [(ScriptHash "b17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6f",PlutusScript PlutusV1 ScriptHash "b17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6f")], atwrDatsTxWits = TxDatsConstr TxDatsRaw {unTxDatsRaw = fromList []} (blake2b_256: SafeHash "45b0cfc220ceec5b7c1c62c4d4193d38e4eba48e8815729ce75f9c0ab0e4c1c0"), atwrRdmrsTxWits = RedeemersConstr fromList [(AlonzoMinting 0,(DataConstr Constr 0 [] (blake2b_256: SafeHash "923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec"),WrapExUnits {unWrapExUnits = ExUnits' {exUnitsMem' = 2045738, exUnitsSteps' = 898247444}}))] (blake2b_256: SafeHash "3a384e30b63601e50ccbdfc7fe5d1364e52ecf8f0c03a0f6eff44fe42fe65557")} (blake2b_256: SafeHash "9085fea61a5bc7baa0abb2e841264b04987017bc2f61183ad4de77ff6f96fb7c"), isValid = IsValid True, auxiliaryData = SNothing}))
Instance details

Defined in GeniusYield.Types.Tx

FromJSON GYTxId # 
Instance details

Defined in GeniusYield.Types.Tx

FromJSON GYTxWitness # 
Instance details

Defined in GeniusYield.Types.Tx

FromJSON GYTxOutRef # 
Instance details

Defined in GeniusYield.Types.TxOutRef

FromJSON GYTxOutRefCbor # 
Instance details

Defined in GeniusYield.Types.TxOutRef

FromJSON GYAssetClass #
>>> Aeson.decode @GYAssetClass "\"lovelace\""
Just GYLovelace
>>> Aeson.decode @GYAssetClass "\"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef.476f6c64\""
Just (GYToken "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" "Gold")
>>> Aeson.decode @GYAssetClass "\"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef.0014df1043727970746f20556e69636f726e\""
Just (GYToken "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" "\NUL\DC4\223\DLECrypto Unicorn")
Instance details

Defined in GeniusYield.Types.Value

FromJSON GYTokenName #
>>> Aeson.eitherDecode @GYTokenName "\"476f6c64\""
Right "Gold"
>>> Aeson.eitherDecode @GYTokenName "\"0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2021\""
Left "Error in $: parseJSON @GYTokenName: token name too long (0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2021)"
>>> Aeson.eitherDecode @GYTokenName "\"gold\""
Left "Error in $: parseJSON @GYTokenName: not base16 encoded (gold)"
>>> Aeson.eitherDecode @GYTokenName "123"
Left "Error in $: parsing Text failed, expected String, but encountered Number"
Instance details

Defined in GeniusYield.Types.Value

FromJSON GYValue #
>>> Aeson.decode @GYValue "{\"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef.474f4c44\":101,\"lovelace\":22}"
Just (valueFromList [(GYLovelace,22),(GYToken "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" "GOLD",101)])
Instance details

Defined in GeniusYield.Types.Value

FromJSON All

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Any

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Version 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON CTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Void 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Int16 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Int64 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Int8 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Word16 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Word32 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Word64 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Word8 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

FromJSON ApiError 
Instance details

Defined in Blockfrost.Types.ApiError

FromJSON AccountDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountMir 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountRegistration 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountReward 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AccountWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AddressAssociated 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AddressAssociatedTotal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON RewardType 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

FromJSON AddressDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressInfoExtended 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressType 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AddressUtxo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

FromJSON AssetAction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetOnChainMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON MetadataMediaFile 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON Block 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

FromJSON CostModels 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

FromJSON EpochInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

FromJSON PoolStakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

FromJSON ProtocolParams 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

FromJSON StakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

FromJSON Genesis 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

FromJSON TxMeta 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON TxMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON TxMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

FromJSON Network 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON NetworkEraBound 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON NetworkEraParameters 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON NetworkEraSummary 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON NetworkStake 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON NetworkSupply 
Instance details

Defined in Blockfrost.Types.Cardano.Network

FromJSON Pool 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolDelegator 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolEpoch 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolRelay 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON PoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON InlineDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON Script 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptDatumCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON ScriptType 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

FromJSON PoolUpdateMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON Pot 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON Transaction 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionMir 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionPoolRetiring 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionPoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionStake 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionUtxos 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON TransactionWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON UtxoInput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON UtxoOutput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

FromJSON DerivedAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

FromJSON TxEval 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

FromJSON TxEvalBudget 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

FromJSON TxEvalFailure 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Methods

parseJSONValueParser TxEvalFailure #

parseJSONListValueParser [TxEvalFailure] #

omittedFieldMaybe TxEvalFailure #

FromJSON TxEvalInput 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

FromJSON TxEvalValidator 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

FromJSON Healthy 
Instance details

Defined in Blockfrost.Types.Common

FromJSON Metric 
Instance details

Defined in Blockfrost.Types.Common

FromJSON ServerTime 
Instance details

Defined in Blockfrost.Types.Common

FromJSON URLVersion 
Instance details

Defined in Blockfrost.Types.Common

FromJSON IPFSAdd 
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON IPFSPin 
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON IPFSPinChange 
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON PinState 
Instance details

Defined in Blockfrost.Types.IPFS

FromJSON NutlinkAddress 
Instance details

Defined in Blockfrost.Types.NutLink

FromJSON NutlinkAddressTicker 
Instance details

Defined in Blockfrost.Types.NutLink

FromJSON NutlinkTicker 
Instance details

Defined in Blockfrost.Types.NutLink

FromJSON Address 
Instance details

Defined in Blockfrost.Types.Shared.Address

FromJSON Amount 
Instance details

Defined in Blockfrost.Types.Shared.Amount

FromJSON AmountExtended 
Instance details

Defined in Blockfrost.Types.Shared.Amount

FromJSON AssetId 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

FromJSON BlockHash 
Instance details

Defined in Blockfrost.Types.Shared.BlockHash

FromJSON CBORString 
Instance details

Defined in Blockfrost.Types.Shared.CBOR

FromJSON DatumHash 
Instance details

Defined in Blockfrost.Types.Shared.DatumHash

FromJSON Epoch 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

FromJSON EpochLength 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

FromJSON POSIXMillis 
Instance details

Defined in Blockfrost.Types.Shared.POSIXMillis

FromJSON PolicyId 
Instance details

Defined in Blockfrost.Types.Shared.PolicyId

FromJSON PoolId 
Instance details

Defined in Blockfrost.Types.Shared.PoolId

FromJSON Quantity 
Instance details

Defined in Blockfrost.Types.Shared.Quantity

FromJSON ScriptHash 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

FromJSON ScriptHashList 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

FromJSON Slot 
Instance details

Defined in Blockfrost.Types.Shared.Slot

FromJSON TxHash 
Instance details

Defined in Blockfrost.Types.Shared.TxHash

FromJSON ValidationPurpose 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

(TypeError ('Text "Forbidden FromJSON ByteString instance") ∷ Constraint) ⇒ FromJSON ByteString # 
Instance details

Defined in GeniusYield.Imports

FromJSON Cosigner 
Instance details

Defined in Cardano.Address.Script

FromJSON ScriptTemplate 
Instance details

Defined in Cardano.Address.Script

FromJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

FromJSON ChainPoint 
Instance details

Defined in Cardano.Api.Block

FromJSON AnyShelleyBasedEra 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

FromJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras.Core

FromJSON NodeConfig 
Instance details

Defined in Cardano.Api.LedgerState

FromJSON CostModels 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

parseJSONValueParser CostModels #

parseJSONListValueParser [CostModels] #

omittedFieldMaybe CostModels #

FromJSON ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

FromJSON DelegationsAndRewards 
Instance details

Defined in Cardano.Api.Rewards

FromJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

FromJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

FromJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

FromJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

FromJSON SimpleScript 
Instance details

Defined in Cardano.Api.Script

FromJSON TextEnvelopeCddl 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

FromJSON TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON TextEnvelopeDescr 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON TextEnvelopeType 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

FromJSON StakePoolMetadata 
Instance details

Defined in Cardano.Api.StakePoolMetadata

FromJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

FromJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

FromJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

FromJSON AssetName 
Instance details

Defined in Cardano.Api.Value

FromJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

FromJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

FromJSON Quantity 
Instance details

Defined in Cardano.Api.Value

FromJSON Value 
Instance details

Defined in Cardano.Api.Value

FromJSON ValueNestedRep 
Instance details

Defined in Cardano.Api.Value

FromJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

FromJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

FromJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

FromJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

FromJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

FromJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

FromJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

FromJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

FromJSON Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

FromJSON DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

FromJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON EpochInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

FromJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

FromJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

FromJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

FromJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

FromJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

FromJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

FromJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

FromJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

FromJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

FromJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

FromJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

FromJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

FromJSON PartialNodeConfiguration 
Instance details

Defined in Cardano.Node.Configuration.POM

FromJSON ShutdownOn 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

FromJSON ShutdownTrace 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

FromJSON Protocol 
Instance details

Defined in Cardano.Node.Protocol.Types

FromJSON NodeInfo 
Instance details

Defined in Cardano.Node.Startup

FromJSON NodeStartupInfo 
Instance details

Defined in Cardano.Node.Startup

FromJSON GenesisFile 
Instance details

Defined in Cardano.Node.Types

FromJSON GenesisHash 
Instance details

Defined in Cardano.Node.Types

FromJSON MaxConcurrencyBulkSync 
Instance details

Defined in Cardano.Node.Types

FromJSON MaxConcurrencyDeadline 
Instance details

Defined in Cardano.Node.Types

FromJSON NodeDiffusionMode 
Instance details

Defined in Cardano.Node.Types

FromJSON PartialTraceSelection 
Instance details

Defined in Cardano.Tracing.Config

FromJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

FromJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

FromJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

FromJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

FromJSON RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

FromJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

FromJSON LeadershipSlot 
Instance details

Defined in Testnet.Runtime

FromJSON AssetName 
Instance details

Defined in Cardano.Wallet.Primitive.Types.AssetName

FromJSON TokenPolicyId 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenPolicyId

FromJSON TokenQuantity 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenQuantity

FromJSON IntSet 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Ordering 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Component 
Instance details

Defined in Hedgehog.Extras.Internal.Plan

FromJSON Plan 
Instance details

Defined in Hedgehog.Extras.Internal.Plan

FromJSON Aggregated 
Instance details

Defined in Cardano.BM.Data.Aggregated

FromJSON BaseStats 
Instance details

Defined in Cardano.BM.Data.Aggregated

FromJSON EWMA 
Instance details

Defined in Cardano.BM.Data.Aggregated

FromJSON Measurable 
Instance details

Defined in Cardano.BM.Data.Aggregated

FromJSON Stats 
Instance details

Defined in Cardano.BM.Data.Aggregated

FromJSON AggregatedKind 
Instance details

Defined in Cardano.BM.Data.AggregatedKind

FromJSON BackendKind 
Instance details

Defined in Cardano.BM.Data.BackendKind

FromJSON Endpoint 
Instance details

Defined in Cardano.BM.Data.Configuration

FromJSON RemoteAddr 
Instance details

Defined in Cardano.BM.Data.Configuration

FromJSON RemoteAddrNamed 
Instance details

Defined in Cardano.BM.Data.Configuration

FromJSON Representation 
Instance details

Defined in Cardano.BM.Data.Configuration

FromJSON Counter 
Instance details

Defined in Cardano.BM.Data.Counter

FromJSON CounterState 
Instance details

Defined in Cardano.BM.Data.Counter

FromJSON CounterType 
Instance details

Defined in Cardano.BM.Data.Counter

FromJSON CommandValue 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON LOMeta 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON MonitorAction 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON PrivacyAnnotation 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON ObservableInstance 
Instance details

Defined in Cardano.BM.Data.Observable

FromJSON ScribeDefinition 
Instance details

Defined in Cardano.BM.Data.Output

FromJSON ScribeFormat 
Instance details

Defined in Cardano.BM.Data.Output

FromJSON ScribeKind 
Instance details

Defined in Cardano.BM.Data.Output

FromJSON ScribePrivacy 
Instance details

Defined in Cardano.BM.Data.Output

FromJSON RotationParameters 
Instance details

Defined in Cardano.BM.Data.Rotation

FromJSON Severity 
Instance details

Defined in Cardano.BM.Data.Severity

FromJSON DropName 
Instance details

Defined in Cardano.BM.Data.SubTrace

FromJSON NameSelector 
Instance details

Defined in Cardano.BM.Data.SubTrace

FromJSON SubTrace 
Instance details

Defined in Cardano.BM.Data.SubTrace

FromJSON UnhideNames 
Instance details

Defined in Cardano.BM.Data.SubTrace

FromJSON TracingVerbosity 
Instance details

Defined in Cardano.BM.Data.Tracer

FromJSON Environment 
Instance details

Defined in Katip.Core

FromJSON LocJs 
Instance details

Defined in Katip.Core

FromJSON LogStr 
Instance details

Defined in Katip.Core

FromJSON Namespace 
Instance details

Defined in Katip.Core

FromJSON ProcessIDJs 
Instance details

Defined in Katip.Core

FromJSON Severity 
Instance details

Defined in Katip.Core

FromJSON ThreadIdText 
Instance details

Defined in Katip.Core

FromJSON Verbosity 
Instance details

Defined in Katip.Core

FromJSON ApiError 
Instance details

Defined in Maestro.Client.Error

FromJSON AbsoluteSlot 
Instance details

Defined in Maestro.Types.Common

FromJSON BlockHash 
Instance details

Defined in Maestro.Types.Common

FromJSON BlockHeight 
Instance details

Defined in Maestro.Types.Common

FromJSON DatumOption 
Instance details

Defined in Maestro.Types.Common

FromJSON DatumOptionType 
Instance details

Defined in Maestro.Types.Common

FromJSON EpochNo 
Instance details

Defined in Maestro.Types.Common

FromJSON EpochSize 
Instance details

Defined in Maestro.Types.Common

FromJSON PolicyId 
Instance details

Defined in Maestro.Types.Common

FromJSON Script 
Instance details

Defined in Maestro.Types.Common

FromJSON ScriptType 
Instance details

Defined in Maestro.Types.Common

FromJSON SlotNo 
Instance details

Defined in Maestro.Types.Common

FromJSON TokenName 
Instance details

Defined in Maestro.Types.Common

FromJSON TxHash 
Instance details

Defined in Maestro.Types.Common

FromJSON TxIndex 
Instance details

Defined in Maestro.Types.Common

FromJSON AccountAction 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

parseJSONValueParser AccountAction #

parseJSONListValueParser [AccountAction] #

omittedFieldMaybe AccountAction #

FromJSON AccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AccountStakingRewardType 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAddress 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON PaginatedAsset 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON TimestampedAccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

FromJSON AddressInfo 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON AddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON CertIndex 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON ChainPointer 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON NetworkId 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON OutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaginatedAddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaginatedOutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaginatedPaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaymentCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaymentCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON PaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON StakingCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON StakingCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

FromJSON AssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

FromJSON TimestampedAssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

FromJSON TokenRegistryMetadata 
Instance details

Defined in Maestro.Types.V1.Assets

FromJSON BlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

FromJSON TimestampedBlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

FromJSON Asset 
Instance details

Defined in Maestro.Types.V1.Common

FromJSON AssetUnit 
Instance details

Defined in Maestro.Types.V1.Common

FromJSON PaginatedUtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

FromJSON UtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

FromJSON NextCursor 
Instance details

Defined in Maestro.Types.V1.Common.Pagination

FromJSON LastUpdated 
Instance details

Defined in Maestro.Types.V1.Common.Timestamped

FromJSON Datum 
Instance details

Defined in Maestro.Types.V1.Datum

FromJSON TimestampedDatum 
Instance details

Defined in Maestro.Types.V1.Datum

FromJSON Dex 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

FromJSON DexPairInfo 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

FromJSON DexPairResponse 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

FromJSON OHLCCandleInfo 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

FromJSON Resolution 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

FromJSON ChainTip 
Instance details

Defined in Maestro.Types.V1.General

FromJSON CostModel 
Instance details

Defined in Maestro.Types.V1.General

FromJSON CostModels 
Instance details

Defined in Maestro.Types.V1.General

FromJSON EraBound 
Instance details

Defined in Maestro.Types.V1.General

FromJSON EraParameters 
Instance details

Defined in Maestro.Types.V1.General

FromJSON EraSummary 
Instance details

Defined in Maestro.Types.V1.General

FromJSON MaestroRational 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

FromJSON ProtocolVersion 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedChainTip 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedEraSummaries 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

FromJSON TimestampedSystemStart 
Instance details

Defined in Maestro.Types.V1.General

FromJSON PaginatedPoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

FromJSON PoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

FromJSON PaginatedUtxo 
Instance details

Defined in Maestro.Types.V1.Transactions

FromJSON TimestampedTxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

FromJSON TxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

FromJSON UtxoWithBytes 
Instance details

Defined in Maestro.Types.V1.Transactions

FromJSON URI

Since: aeson-2.2.0.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON AdditionalProperties 
Instance details

Defined in Data.OpenApi.Internal

FromJSON ApiKeyLocation 
Instance details

Defined in Data.OpenApi.Internal

FromJSON ApiKeyParams 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Callback 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Components 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Contact 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Discriminator 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Encoding 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Example 
Instance details

Defined in Data.OpenApi.Internal

FromJSON ExpressionOrValue

All strings are parsed as expressions

Instance details

Defined in Data.OpenApi.Internal

FromJSON ExternalDocs 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Header 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Info 
Instance details

Defined in Data.OpenApi.Internal

FromJSON License 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Link 
Instance details

Defined in Data.OpenApi.Internal

FromJSON MediaTypeObject 
Instance details

Defined in Data.OpenApi.Internal

FromJSON MimeList 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2AuthorizationCodeFlow 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2ClientCredentialsFlow 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2Flows 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2ImplicitFlow 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OAuth2PasswordFlow 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApi 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiItems 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiSpecVersion 
Instance details

Defined in Data.OpenApi.Internal

FromJSON OpenApiType 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Operation 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Param 
Instance details

Defined in Data.OpenApi.Internal

FromJSON ParamLocation 
Instance details

Defined in Data.OpenApi.Internal

FromJSON PathItem 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Reference 
Instance details

Defined in Data.OpenApi.Internal

FromJSON RequestBody 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Response 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Responses 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Schema 
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityDefinitions 
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityRequirement 
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecurityScheme 
Instance details

Defined in Data.OpenApi.Internal

FromJSON SecuritySchemeType 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Server 
Instance details

Defined in Data.OpenApi.Internal

FromJSON ServerVariable 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Style 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Tag 
Instance details

Defined in Data.OpenApi.Internal

FromJSON URL 
Instance details

Defined in Data.OpenApi.Internal

FromJSON Xml 
Instance details

Defined in Data.OpenApi.Internal

FromJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

FromJSON DomainAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON RelayAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

FromJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

FromJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

FromJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

FromJSON SatInt 
Instance details

Defined in Data.SatInt

FromJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

FromJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

FromJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

FromJSON Rational

This mimics the behaviour of Aeson's instance for Rational.

Instance details

Defined in PlutusTx.Ratio

FromJSON Scientific 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON BaseUrl
>>> parseBaseUrl "api.example.com" >>= decode . encode :: Maybe BaseUrl
Just (BaseUrl {baseUrlScheme = Http, baseUrlHost = "api.example.com", baseUrlPort = 80, baseUrlPath = ""})
Instance details

Defined in Servant.Client.Core.BaseUrl

FromJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

FromJSON AdditionalProperties 
Instance details

Defined in Data.Swagger.Internal

FromJSON ApiKeyLocation 
Instance details

Defined in Data.Swagger.Internal

FromJSON ApiKeyParams 
Instance details

Defined in Data.Swagger.Internal

FromJSON Contact 
Instance details

Defined in Data.Swagger.Internal

FromJSON Example 
Instance details

Defined in Data.Swagger.Internal

FromJSON ExternalDocs 
Instance details

Defined in Data.Swagger.Internal

FromJSON Header 
Instance details

Defined in Data.Swagger.Internal

FromJSON Host 
Instance details

Defined in Data.Swagger.Internal

FromJSON Info 
Instance details

Defined in Data.Swagger.Internal

FromJSON License 
Instance details

Defined in Data.Swagger.Internal

FromJSON MimeList 
Instance details

Defined in Data.Swagger.Internal

FromJSON OAuth2Flow 
Instance details

Defined in Data.Swagger.Internal

FromJSON OAuth2Params 
Instance details

Defined in Data.Swagger.Internal

FromJSON Operation 
Instance details

Defined in Data.Swagger.Internal

FromJSON Param 
Instance details

Defined in Data.Swagger.Internal

FromJSON ParamAnySchema 
Instance details

Defined in Data.Swagger.Internal

FromJSON ParamLocation 
Instance details

Defined in Data.Swagger.Internal

FromJSON ParamOtherSchema 
Instance details

Defined in Data.Swagger.Internal

FromJSON PathItem 
Instance details

Defined in Data.Swagger.Internal

FromJSON Reference 
Instance details

Defined in Data.Swagger.Internal

FromJSON Response 
Instance details

Defined in Data.Swagger.Internal

FromJSON Responses 
Instance details

Defined in Data.Swagger.Internal

FromJSON Schema 
Instance details

Defined in Data.Swagger.Internal

FromJSON Scheme 
Instance details

Defined in Data.Swagger.Internal

FromJSON SecurityDefinitions 
Instance details

Defined in Data.Swagger.Internal

FromJSON SecurityRequirement 
Instance details

Defined in Data.Swagger.Internal

FromJSON SecurityScheme 
Instance details

Defined in Data.Swagger.Internal

FromJSON SecuritySchemeType 
Instance details

Defined in Data.Swagger.Internal

FromJSON Swagger 
Instance details

Defined in Data.Swagger.Internal

FromJSON Tag 
Instance details

Defined in Data.Swagger.Internal

FromJSON URL 
Instance details

Defined in Data.Swagger.Internal

FromJSON Xml 
Instance details

Defined in Data.Swagger.Internal

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Text 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON ShortText

Since: aeson-2.0.2.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Day 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Month 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Quarter 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON DiffTime

This instance includes a bounds check to prevent maliciously large inputs to fill up the memory of the target system. You can newtype Scientific and provide your own instance using withScientific if you want to allow larger inputs.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON NominalDiffTime

This instance includes a bounds check to prevent maliciously large inputs to fill up the memory of the target system. You can newtype Scientific and provide your own instance using withScientific if you want to allow larger inputs.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON SystemTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON ZonedTime

Supported string formats:

YYYY-MM-DD HH:MMZ YYYY-MM-DD HH:MM:SSZ YYYY-MM-DD HH:MM:SS.SSSZ

The first space may instead be a T, and the second space is optional. The Z represents UTC. The Z may be replaced with a time zone offset of the form +0000 or -08:00, where the first two digits are hours, the : is optional and the second two digits (also optional) are minutes.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON ConfigOptionRep 
Instance details

Defined in Cardano.Logging.ConfigurationParser

Methods

parseJSONValueParser ConfigOptionRep #

parseJSONListValueParser [ConfigOptionRep] #

omittedFieldMaybe ConfigOptionRep #

FromJSON ConfigRepresentation 
Instance details

Defined in Cardano.Logging.ConfigurationParser

Methods

parseJSONValueParser ConfigRepresentation #

parseJSONListValueParser [ConfigRepresentation] #

omittedFieldMaybe ConfigRepresentation #

FromJSON BackendConfig 
Instance details

Defined in Cardano.Logging.Types

FromJSON DetailLevel 
Instance details

Defined in Cardano.Logging.Types

FromJSON ForwarderAddr 
Instance details

Defined in Cardano.Logging.Types

FromJSON ForwarderMode 
Instance details

Defined in Cardano.Logging.Types

FromJSON SeverityF 
Instance details

Defined in Cardano.Logging.Types

FromJSON SeverityS 
Instance details

Defined in Cardano.Logging.Types

FromJSON TraceOptionForwarder 
Instance details

Defined in Cardano.Logging.Types

FromJSON Verbosity 
Instance details

Defined in Cardano.Logging.Types

FromJSON UUID 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Integer

This instance includes a bounds check to prevent maliciously large inputs to fill up the memory of the target system. You can newtype Scientific and provide your own instance using withScientific if you want to allow larger inputs.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Natural 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON () 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser () #

parseJSONListValueParser [()] #

omittedFieldMaybe () #

FromJSON Bool 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Char 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Double 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Float 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Int 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON Word 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON v ⇒ FromJSON (KeyMap v)

Since: aeson-2.0.1.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

FromJSON a ⇒ FromJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Down a)

Since: aeson-2.2.0.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (First a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Max a) #

parseJSONListValueParser [Max a] #

omittedFieldMaybe (Max a) #

FromJSON a ⇒ FromJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Min a) #

parseJSONListValueParser [Min a] #

omittedFieldMaybe (Min a) #

FromJSON a ⇒ FromJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Product a)

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Sum a)

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Sum a) #

parseJSONListValueParser [Sum a] #

omittedFieldMaybe (Sum a) #

FromJSON a ⇒ FromJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Generic a, GFromJSON Zero (Rep a)) ⇒ FromJSON (Generically a)

Since: aeson-2.1.0.0

Instance details

Defined in Data.Aeson.Types.FromJSON

(FromJSON a, Integral a) ⇒ FromJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (Script Cosigner) 
Instance details

Defined in Cardano.Address.Script

FromJSON (Script KeyHash) 
Instance details

Defined in Cardano.Address.Script

FromJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

FromJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

IsShelleyBasedEra era ⇒ FromJSON (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

FromJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

FromJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

FromJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

(IsShelleyBasedEra era, FromJSON (TxOut CtxUTxO era)) ⇒ FromJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

parseJSONValueParser (UTxO era) #

parseJSONListValueParser [UTxO era] #

omittedFieldMaybe (UTxO era) #

IsCardanoEra era ⇒ FromJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

SerialiseAsBech32 a ⇒ FromJSON (UsingBech32 a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

SerialiseAsRawBytes a ⇒ FromJSON (UsingRawBytesHex a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

IsShelleyBasedEra era ⇒ FromJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.Tx.Body

FromJSON a ⇒ FromJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

FromJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

Crypto c ⇒ FromJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

Era era ⇒ FromJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

FromJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Crypto c ⇒ FromJSON (Delegatee c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Crypto c ⇒ FromJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Crypto c ⇒ FromJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Crypto c ⇒ FromJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Crypto c ⇒ FromJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

FromJSON (PParamsHKD Identity era) ⇒ FromJSON (PParams era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

FromJSON (PParamsHKD StrictMaybe era) ⇒ FromJSON (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Crypto c ⇒ FromJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Crypto c ⇒ FromJSON (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Crypto c ⇒ FromJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Crypto c ⇒ FromJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Crypto c ⇒ FromJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

FromJSON a ⇒ FromJSON (ExUnits' a) 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

Crypto c ⇒ FromJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ FromJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Crypto c ⇒ FromJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Crypto c ⇒ FromJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c ⇒ FromJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Era era ⇒ FromJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

Crypto c ⇒ FromJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c ⇒ FromJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c ⇒ FromJSON (TransitionConfig (ShelleyEra c)) 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

FromJSON (OnOff a) 
Instance details

Defined in Cardano.Tracing.Config

FromJSON a ⇒ FromJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

FromJSON a ⇒ FromJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

FromJSON a ⇒ FromJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

FromJSON a ⇒ FromJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Seq a) #

parseJSONListValueParser [Seq a] #

omittedFieldMaybe (Seq a) #

(Ord a, FromJSON a) ⇒ FromJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Set a) #

parseJSONListValueParser [Set a] #

omittedFieldMaybe (Set a) #

FromJSON v ⇒ FromJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON1 f ⇒ FromJSON (Fix f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Fix f) #

parseJSONListValueParser [Fix f] #

omittedFieldMaybe (Fix f) #

(FromJSON1 f, Functor f) ⇒ FromJSON (Mu f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Mu f) #

parseJSONListValueParser [Mu f] #

omittedFieldMaybe (Mu f) #

(FromJSON1 f, Functor f) ⇒ FromJSON (Nu f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Nu f) #

parseJSONListValueParser [Nu f] #

omittedFieldMaybe (Nu f) #

FromJSON a ⇒ FromJSON (DNonEmpty a)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (InsOrdHashSet a) 
Instance details

Defined in Data.HashSet.InsOrd

FromJSON a ⇒ FromJSON (LOContent a) 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON a ⇒ FromJSON (LogObject a) 
Instance details

Defined in Cardano.BM.Data.LogItem

FromJSON a ⇒ FromJSON (Resources a) 
Instance details

Defined in Cardano.BM.Stats.Resources

FromJSON a ⇒ FromJSON (Item a) 
Instance details

Defined in Katip.Core

FromJSON (Bech32StringOf a) 
Instance details

Defined in Maestro.Types.Common

FromJSON (HashStringOf a) 
Instance details

Defined in Maestro.Types.Common

FromJSON (HexStringOf a) 
Instance details

Defined in Maestro.Types.Common

FromJSON (TaggedText description) 
Instance details

Defined in Maestro.Types.V1.Common

Methods

parseJSONValueParser (TaggedText description) #

parseJSONListValueParser [TaggedText description] #

omittedFieldMaybe (TaggedText description) #

FromJSON i ⇒ FromJSON (MemoryStepsWith i) 
Instance details

Defined in Maestro.Types.V1.General

(Eq p, FromJSON p, AesonDefaultValue p) ⇒ FromJSON (OAuth2Flow p) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Callback) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Example) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Header) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Link) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Param) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced RequestBody) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Response) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (Referenced Schema) 
Instance details

Defined in Data.OpenApi.Internal

FromJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

FromJSON a ⇒ FromJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Prim a, FromJSON a) ⇒ FromJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON d ⇒ FromJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

FromJSON a ⇒ FromJSON (Maybe a)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (CollectionFormat ('SwaggerKindNormal t)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (CollectionFormat ('SwaggerKindParamOtherSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

(FromJSON (SwaggerType ('SwaggerKindNormal t)), FromJSON (SwaggerItems ('SwaggerKindNormal t))) ⇒ FromJSON (ParamSchema ('SwaggerKindNormal t)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (ParamSchema ('SwaggerKindParamOtherSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (ParamSchema ('SwaggerKindSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (Referenced Param) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (Referenced Response) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (Referenced Schema) 
Instance details

Defined in Data.Swagger.Internal

(FromJSON (CollectionFormat ('SwaggerKindNormal t)), FromJSON (ParamSchema ('SwaggerKindNormal t))) ⇒ FromJSON (SwaggerItems ('SwaggerKindNormal t)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (SwaggerItems ('SwaggerKindParamOtherSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (SwaggerItems ('SwaggerKindSchemaSwaggerKind Type))
>>> decode "{}" :: Maybe (SwaggerItems 'SwaggerKindSchema)
Just (SwaggerItemsArray [])
>>> eitherDecode "{\"$ref\":\"#/definitions/example\"}" :: Either String (SwaggerItems 'SwaggerKindSchema)
Right (SwaggerItemsObject (Ref (Reference {getReference = "example"})))
>>> eitherDecode "[{\"$ref\":\"#/definitions/example\"}]" :: Either String (SwaggerItems 'SwaggerKindSchema)
Right (SwaggerItemsArray [Ref (Reference {getReference = "example"})])
Instance details

Defined in Data.Swagger.Internal

FromJSON (SwaggerType ('SwaggerKindNormal t)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (SwaggerType ('SwaggerKindParamOtherSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

FromJSON (SwaggerType ('SwaggerKindSchemaSwaggerKind Type)) 
Instance details

Defined in Data.Swagger.Internal

(Eq a, Hashable a, FromJSON a) ⇒ FromJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Prim a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Storable a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

(Vector Vector a, FromJSON a) ⇒ FromJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (Maybe PoolMetadata) 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

FromJSON a ⇒ FromJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON a ⇒ FromJSON (a)

Since: aeson-2.0.2.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a) #

parseJSONListValueParser [(a)] #

omittedFieldMaybe (a) #

FromJSON a ⇒ FromJSON [a] 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser [a] #

parseJSONListValueParser [[a]] #

omittedFieldMaybe [a] #

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Either a b) #

parseJSONListValueParser [Either a b] #

omittedFieldMaybe (Either a b) #

HasResolution a ⇒ FromJSON (Fixed a)

This instance includes a bounds check to prevent maliciously large inputs to fill up the memory of the target system. You can newtype Scientific and provide your own instance using withScientific if you want to allow larger inputs.

Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (File content direction) 
Instance details

Defined in Cardano.Api.IO.Base

Methods

parseJSONValueParser (File content direction) #

parseJSONListValueParser [File content direction] #

omittedFieldMaybe (File content direction) #

IsShelleyBasedEra era ⇒ FromJSON (TxOut CtxTx era) 
Instance details

Defined in Cardano.Api.Tx.Body

IsShelleyBasedEra era ⇒ FromJSON (TxOut CtxUTxO era) 
Instance details

Defined in Cardano.Api.Tx.Body

HashAlgorithm h ⇒ FromJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

parseJSONValueParser (Hash h a) #

parseJSONListValueParser [Hash h a] #

omittedFieldMaybe (Hash h a) #

HashAlgorithm algo ⇒ FromJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

(FromJSON v, FromJSON k, FromJSONKey k) ⇒ FromJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

FromJSON (AlonzoPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

FromJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

FromJSON b ⇒ FromJSON (Annotated b ()) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Era era ⇒ FromJSON (ConwayPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Bounded (BoundedRatio b Word64) ⇒ FromJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

parseJSONValueParser (BoundedRatio b Word64) #

parseJSONListValueParser [BoundedRatio b Word64] #

omittedFieldMaybe (BoundedRatio b Word64) #

Crypto c ⇒ FromJSON (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Crypto c ⇒ FromJSON (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

parseJSONValueParser (KeyHash disc c) #

parseJSONListValueParser [KeyHash disc c] #

omittedFieldMaybe (KeyHash disc c) #

Crypto c ⇒ FromJSON (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

parseJSONValueParser (SafeHash c index) #

parseJSONListValueParser [SafeHash c index] #

omittedFieldMaybe (SafeHash c index) #

FromJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(FromJSONKey k, Ord k, FromJSON v) ⇒ FromJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Map k v) #

parseJSONListValueParser [Map k v] #

omittedFieldMaybe (Map k v) #

(Eq k, Hashable k, FromJSONKey k, FromJSON v) ⇒ FromJSON (InsOrdHashMap k v) 
Instance details

Defined in Data.HashMap.Strict.InsOrd

(FromJSONKey k, Ord k, FromJSON a) ⇒ FromJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

(FromJSON a, FromJSON b) ⇒ FromJSON (Either a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Either a b) #

parseJSONListValueParser [Either a b] #

omittedFieldMaybe (Either a b) #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (These a b) #

parseJSONListValueParser [These a b] #

omittedFieldMaybe (These a b) #

(FromJSON a, FromJSON b) ⇒ FromJSON (Pair a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Pair a b) #

parseJSONListValueParser [Pair a b] #

omittedFieldMaybe (Pair a b) #

(FromJSON a, FromJSON b) ⇒ FromJSON (These a b)

Since: aeson-1.5.1.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (These a b) #

parseJSONListValueParser [These a b] #

omittedFieldMaybe (These a b) #

(FromJSON v, FromJSONKey k, Eq k, Hashable k) ⇒ FromJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSON (Address, NutlinkTicker) 
Instance details

Defined in Blockfrost.Types.NutLink

FromJSON (Text, Metric) 
Instance details

Defined in Blockfrost.Types.Common

(FromJSON a, FromJSON b) ⇒ FromJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b) #

parseJSONListValueParser [(a, b)] #

omittedFieldMaybe (a, b) #

FromJSON a ⇒ FromJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Const a b) #

parseJSONListValueParser [Const a b] #

omittedFieldMaybe (Const a b) #

(Typeable t, FromJSON a) ⇒ FromJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(Typeable t, FromJSON a) ⇒ FromJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(AesonOptions t, Generic a, GFromJSON Zero (Rep a)) ⇒ FromJSON (CustomJSON t a) 
Instance details

Defined in Deriving.Aeson

FromJSON b ⇒ FromJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Tagged a b) #

parseJSONListValueParser [Tagged a b] #

omittedFieldMaybe (Tagged a b) #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (These1 f g a)

Since: aeson-1.5.1.0

Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (These1 f g a) #

parseJSONListValueParser [These1 f g a] #

omittedFieldMaybe (These1 f g a) #

(FromJSON a, FromJSON b, FromJSON c) ⇒ FromJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c) #

parseJSONListValueParser [(a, b, c)] #

omittedFieldMaybe (a, b, c) #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Product f g a) #

parseJSONListValueParser [Product f g a] #

omittedFieldMaybe (Product f g a) #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Sum f g a) #

parseJSONListValueParser [Sum f g a] #

omittedFieldMaybe (Sum f g a) #

(Vector vk k, Vector vv v, Ord k, FromJSONKey k, FromJSON v) ⇒ FromJSON (VMap vk vv k v) 
Instance details

Defined in Data.VMap

Methods

parseJSONValueParser (VMap vk vv k v) #

parseJSONListValueParser [VMap vk vv k v] #

omittedFieldMaybe (VMap vk vv k v) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d) ⇒ FromJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d) #

parseJSONListValueParser [(a, b, c, d)] #

omittedFieldMaybe (a, b, c, d) #

(FromJSON1 f, FromJSON1 g, FromJSON a) ⇒ FromJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (Compose f g a) #

parseJSONListValueParser [Compose f g a] #

omittedFieldMaybe (Compose f g a) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) ⇒ FromJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e) #

parseJSONListValueParser [(a, b, c, d, e)] #

omittedFieldMaybe (a, b, c, d, e) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) ⇒ FromJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f) #

parseJSONListValueParser [(a, b, c, d, e, f)] #

omittedFieldMaybe (a, b, c, d, e, f) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) ⇒ FromJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g) #

parseJSONListValueParser [(a, b, c, d, e, f, g)] #

omittedFieldMaybe (a, b, c, d, e, f, g) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) ⇒ FromJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) ⇒ FromJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j, k) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j, k)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j, k) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j, k, l) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j, k, l)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j, k, l) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j, k, l, m) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j, k, l, m) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j, k, l, m, n) #

(FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) ⇒ FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.FromJSON

Methods

parseJSONValueParser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

parseJSONListValueParser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] #

omittedFieldMaybe (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) #

class ToJSON a where #

A type that can be converted to JSON.

Instances in general must specify toJSON and should (but don't need to) specify toEncoding.

An example type and instance:

-- Allow ourselves to write Text literals.
{-# LANGUAGE OverloadedStrings #-}

data Coord = Coord { x :: Double, y :: Double }

instance ToJSON Coord where
  toJSON (Coord x y) = object ["x" .= x, "y" .= y]

  toEncoding (Coord x y) = pairs ("x" .= x <> "y" .= y)

Instead of manually writing your ToJSON instance, there are two options to do it automatically:

  • Data.Aeson.TH provides Template Haskell functions which will derive an instance at compile time. The generated instance is optimized for your type so it will probably be more efficient than the following option.
  • The compiler can provide a default generic implementation for toJSON.

To use the second, simply add a deriving Generic clause to your datatype and declare a ToJSON instance. If you require nothing other than defaultOptions, it is sufficient to write (and this is the only alternative where the default toJSON implementation is sufficient):

{-# LANGUAGE DeriveGeneric #-}

import GHC.Generics

data Coord = Coord { x :: Double, y :: Double } deriving Generic

instance ToJSON Coord where
    toEncoding = genericToEncoding defaultOptions

or more conveniently using the DerivingVia extension

deriving via Generically Coord instance ToJSON Coord

If on the other hand you wish to customize the generic decoding, you have to implement both methods:

customOptions = defaultOptions
                { fieldLabelModifier = map toUpper
                }

instance ToJSON Coord where
    toJSON     = genericToJSON customOptions
    toEncoding = genericToEncoding customOptions

Previous versions of this library only had the toJSON method. Adding toEncoding had two reasons:

  1. toEncoding is more efficient for the common case that the output of toJSON is directly serialized to a ByteString. Further, expressing either method in terms of the other would be non-optimal.
  2. The choice of defaults allows a smooth transition for existing users: Existing instances that do not define toEncoding still compile and have the correct semantics. This is ensured by making the default implementation of toEncoding use toJSON. This produces correct results, but since it performs an intermediate conversion to a Value, it will be less efficient than directly emitting an Encoding. (this also means that specifying nothing more than instance ToJSON Coord would be sufficient as a generically decoding instance, but there probably exists no good reason to not specify toEncoding in new instances.)

Minimal complete definition

Nothing

Methods

toJSON ∷ a → Value #

Convert a Haskell value to a JSON-friendly intermediate type.

toEncoding ∷ a → Encoding #

Encode a Haskell value as JSON.

The default implementation of this method creates an intermediate Value using toJSON. This provides source-level compatibility for people upgrading from older versions of this library, but obviously offers no performance advantage.

To benefit from direct encoding, you must provide an implementation for this method. The easiest way to do so is by having your types implement Generic using the DeriveGeneric extension, and then have GHC generate a method body as follows.

instance ToJSON Coord where
    toEncoding = genericToEncoding defaultOptions

toJSONList ∷ [a] → Value #

toEncodingList ∷ [a] → Encoding #

omitField ∷ a → Bool #

Defines when it is acceptable to omit a field of this type from a record. Used by (.?=) operator, and Generics and TH deriving with omitNothingFields = True.

Since: aeson-2.2.0.0

Instances

Instances details
ToJSON Key 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKeyValue #

toEncodingKeyEncoding #

toJSONList ∷ [Key] → Value #

toEncodingList ∷ [Key] → Encoding #

omitFieldKeyBool #

ToJSON DotNetTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Value 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON GYAddress #
>>> LBS8.putStrLn $ Aeson.encode addr
"00e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d1b930e9f7add78a174a21000e989ff551366dcd127028cb2aa39f616"
Instance details

Defined in GeniusYield.Types.Address

ToJSON GYAddressBech32 #
>>> LBS8.putStrLn $ Aeson.encode $ addressToBech32 addr
"addr_test1qrsuhwqdhz0zjgnf46unas27h93amfghddnff8lpc2n28rgmjv8f77ka0zshfgssqr5cnl64zdnde5f8q2xt923e7ctqu49mg5"
Instance details

Defined in GeniusYield.Types.Address

ToJSON GYStakeAddress #
>>> LBS8.putStrLn $ Aeson.encode stakeAddr
"e07a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d"
Instance details

Defined in GeniusYield.Types.Address

ToJSON GYStakeAddressBech32 #
>>> LBS8.putStrLn $ Aeson.encode $ stakeAddressToBech32 stakeAddr
"stake_test1upa805fqh85x4hw88zxmhvdaydgyjzmazs9tydqrscerxnghfq4t3"
Instance details

Defined in GeniusYield.Types.Address

ToJSON GYDatumHash # 
Instance details

Defined in GeniusYield.Types.Datum

ToJSON GYEra # 
Instance details

Defined in GeniusYield.Types.Era

ToJSON GYPaymentSigningKey #
>>> LBS8.putStrLn $ Aeson.encode ("5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290" :: GYPaymentSigningKey)
"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290"
Instance details

Defined in GeniusYield.Types.Key

ToJSON GYPaymentVerificationKey #
>>> LBS8.putStrLn $ Aeson.encode ("0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605" :: GYPaymentVerificationKey)
"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605"
Instance details

Defined in GeniusYield.Types.Key

ToJSON GYStakeSigningKey #
>>> LBS8.putStrLn $ Aeson.encode ("5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290" :: GYStakeSigningKey)
"58205ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290"
Instance details

Defined in GeniusYield.Types.Key

ToJSON GYStakeVerificationKey #
>>> LBS8.putStrLn $ Aeson.encode ("0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605" :: GYStakeVerificationKey)
"58200717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605"
Instance details

Defined in GeniusYield.Types.Key

ToJSON GYLogScribeConfig #
>>> LBS8.putStrLn $ Aeson.encode $ GYLogScribeConfig (GYCustomSourceScribe "log.txt") GYWarning (read "GYLogVerbosity V1")
{"type":{"tag":"gySource","source":"log.txt"},"severity":"Warning","verbosity":"V1"}
Instance details

Defined in GeniusYield.Types.Logging

ToJSON GYLogScribeType #
>>> LBS8.putStrLn $ Aeson.encode GYStdErrScribe
{"tag":"stderr"}
>>> LBS8.putStrLn $ Aeson.encode $ GYCustomSourceScribe "https://pub:[email protected]:8443/sentry/example_project"
{"tag":"gySource","source":"https://pub:[email protected]:8443/sentry/example_project"}
>>> LBS8.putStrLn $ Aeson.encode $ GYCustomSourceScribe "log.txt"
{"tag":"gySource","source":"log.txt"}
Instance details

Defined in GeniusYield.Types.Logging

ToJSON GYLogSeverity # 
Instance details

Defined in GeniusYield.Types.Logging

ToJSON GYLogVerbosity # 
Instance details

Defined in GeniusYield.Types.Logging

ToJSON LogSrc # 
Instance details

Defined in GeniusYield.Types.Logging

ToJSON GYNatural #
>>> LBS8.putStrLn $ Aeson.encode (1234 :: GYNatural)
"1234"
>>> LBS8.putStrLn $ Aeson.encode (123456789123456789123456789123456789123456789 :: GYNatural)
"123456789123456789123456789123456789123456789"
Instance details

Defined in GeniusYield.Types.Natural

ToJSON GYNetworkId #
>>> mapM_ LBS8.putStrLn $ Aeson.encode <$> [GYMainnet, GYTestnetPreprod, GYTestnetPreview, GYTestnetLegacy]
"mainnet"
"testnet-preprod"
"testnet-preview"
"testnet"
Instance details

Defined in GeniusYield.Types.NetworkId

ToJSON GYNetworkInfo # 
Instance details

Defined in GeniusYield.Types.NetworkId

ToJSON GYPaymentKeyHash #
>>> let Just pkh = Aeson.decode @GYPaymentKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d\""
>>> LBS8.putStrLn $ Aeson.encode pkh
"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d"
Instance details

Defined in GeniusYield.Types.PaymentKeyHash

ToJSON GYPubKeyHash #
>>> let Just pkh = Aeson.decode @GYPubKeyHash "\"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d\""
>>> LBS8.putStrLn $ Aeson.encode pkh
"e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d"
Instance details

Defined in GeniusYield.Types.PubKeyHash

ToJSON GYRational #
>>> LBS8.putStrLn $ Aeson.encode (fromRational @GYRational 0.123)
"0.123"
Instance details

Defined in GeniusYield.Types.Rational

ToJSON GYMintingPolicyId # 
Instance details

Defined in GeniusYield.Types.Script

ToJSON GYScriptHash # 
Instance details

Defined in GeniusYield.Types.Script.ScriptHash

ToJSON GYSimpleScript # 
Instance details

Defined in GeniusYield.Types.Script.SimpleScript

ToJSON GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

ToJSON GYStakeKeyHash #
>>> let Just skh = Aeson.decode @GYStakeKeyHash "\"7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d\""
>>> LBS8.putStrLn $ Aeson.encode skh
"7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d"
Instance details

Defined in GeniusYield.Types.StakeKeyHash

ToJSON GYStakePoolId #
>>> let Just spid = Aeson.decode @GYStakePoolId "\"c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fd27\""
>>> LBS8.putStrLn $ Aeson.encode spid
"c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fd27"
Instance details

Defined in GeniusYield.Types.StakePoolId

ToJSON GYStakePoolIdBech32 #
>>> LBS8.putStrLn $ Aeson.encode $ stakePoolIdToBech32 spId
"pool1cjz6kg9a8ug9uk0nc59q60a67c2628ms58rd98gq587jwa2x5qt"
Instance details

Defined in GeniusYield.Types.StakePoolId

ToJSON GYTime #
>>> LBS8.putStrLn $ Aeson.encode $ timeFromPlutus 0
"1970-01-01T00:00:00Z"
Instance details

Defined in GeniusYield.Types.Time

ToJSON GYTx #
>>> Aeson.toJSON tx
String "84a70082825820975e4c7f8d7937f8102e500714feb3f014c8766fcf287a11c10c686154fcb27501825820c887cba672004607a0f60ab28091d5c24860dbefb92b1a8776272d752846574f000d818258207a67cd033169e330c9ae9b8d0ef8b71de9eb74bbc8f3f6be90446dab7d1e8bfd00018282583900fd040c7a10744b79e5c80ec912a05dbdb3009e372b7f4b0f026d16b0c663651ffc046068455d2994564ba9d4b3e9b458ad8ab5232aebbf401a1abac7d882583900fd040c7a10744b79e5c80ec912a05dbdb3009e372b7f4b0f026d16b0c663651ffc046068455d2994564ba9d4b3e9b458ad8ab5232aebbf40821a0017ad4aa2581ca6bb5fd825455e7c69bdaa9d3a6dda9bcbe9b570bc79bd55fa50889ba1466e69636b656c1911d7581cb17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6fa14853696c6c69636f6e190258021a00072f3c0e8009a1581cb17cb47f51d6744ad05fb937a762848ad61674f8aebbaec67be0bb6fa14853696c6c69636f6e1902580b5820291b4e4c5f189cb896674e02e354028915b11889687c53d9cf4c1c710ff5e4aea203815908d45908d101000033332332232332232323232323232323232323232323232323232222223232323235500222222222225335333553024120013232123300122333500522002002001002350012200112330012253350021001102d02c25335325335333573466e3cd400488008d404c880080b40b04ccd5cd19b873500122001350132200102d02c102c3500122002102b102c00a132635335738921115554784f206e6f7420636f6e73756d65640002302115335333573466e3c048d5402c880080ac0a854cd4ccd5cd19b8701335500b2200102b02a10231326353357389210c77726f6e6720616d6f756e740002302113263533573892010b77726f6e6720746f6b656e00023021135500122222222225335330245027007162213500222253350041335502d00200122161353333573466e1cd55cea8012400046644246600200600464646464646464646464646666ae68cdc39aab9d500a480008cccccccccc888888888848cccccccccc00402c02802402001c01801401000c008cd40548c8c8cccd5cd19b8735573aa0049000119910919800801801180f1aba15002301a357426ae8940088c98d4cd5ce01381401301289aab9e5001137540026ae854028cd4054058d5d0a804999aa80c3ae501735742a010666aa030eb9405cd5d0a80399a80a80f1aba15006335015335502101f75a6ae854014c8c8c8cccd5cd19b8735573aa00490001199109198008018011919191999ab9a3370e6aae754009200023322123300100300233502475a6ae854008c094d5d09aba2500223263533573805605805405226aae7940044dd50009aba150023232323333573466e1cd55cea8012400046644246600200600466a048eb4d5d0a80118129aba135744a004464c6a66ae700ac0b00a80a44d55cf280089baa001357426ae8940088c98d4cd5ce01381401301289aab9e5001137540026ae854010cd4055d71aba15003335015335502175c40026ae854008c06cd5d09aba2500223263533573804604804404226ae8940044d5d1280089aba25001135744a00226ae8940044d5d1280089aba25001135744a00226aae7940044dd50009aba150023232323333573466e1d400520062321222230040053016357426aae79400c8cccd5cd19b875002480108c848888c008014c060d5d09aab9e500423333573466e1d400d20022321222230010053014357426aae7940148cccd5cd19b875004480008c848888c00c014dd71aba135573ca00c464c6a66ae7007807c07407006c0680644d55cea80089baa001357426ae8940088c98d4cd5ce00b80c00b00a9100109aab9e5001137540022464460046eb0004c8004d5406488cccd55cf8009280c119a80b98021aba100230033574400402446464646666ae68cdc39aab9d5003480008ccc88848ccc00401000c008c8c8c8cccd5cd19b8735573aa004900011991091980080180118099aba1500233500c012357426ae8940088c98d4cd5ce00b00b80a80a09aab9e5001137540026ae85400cccd5401dd728031aba1500233500875c6ae84d5d1280111931a99ab9c012013011010135744a00226aae7940044dd5000899aa800bae75a224464460046eac004c8004d5405c88c8cccd55cf8011280b919a80b19aa80c18031aab9d5002300535573ca00460086ae8800c0444d5d080089119191999ab9a3370ea0029000119091180100198029aba135573ca00646666ae68cdc3a801240044244002464c6a66ae7004004403c0380344d55cea80089baa001232323333573466e1cd55cea80124000466442466002006004600a6ae854008dd69aba135744a004464c6a66ae7003403803002c4d55cf280089baa0012323333573466e1cd55cea800a400046eb8d5d09aab9e500223263533573801601801401226ea8004488c8c8cccd5cd19b87500148010848880048cccd5cd19b875002480088c84888c00c010c018d5d09aab9e500423333573466e1d400d20002122200223263533573801c01e01a01801601426aae7540044dd50009191999ab9a3370ea0029001100911999ab9a3370ea0049000100911931a99ab9c00a00b009008007135573a6ea80048c8c8c8c8c8cccd5cd19b8750014803084888888800c8cccd5cd19b875002480288488888880108cccd5cd19b875003480208cc8848888888cc004024020dd71aba15005375a6ae84d5d1280291999ab9a3370ea00890031199109111111198010048041bae35742a00e6eb8d5d09aba2500723333573466e1d40152004233221222222233006009008300c35742a0126eb8d5d09aba2500923333573466e1d40192002232122222223007008300d357426aae79402c8cccd5cd19b875007480008c848888888c014020c038d5d09aab9e500c23263533573802402602202001e01c01a01801601426aae7540104d55cf280189aab9e5002135573ca00226ea80048c8c8c8c8cccd5cd19b875001480088ccc888488ccc00401401000cdd69aba15004375a6ae85400cdd69aba135744a00646666ae68cdc3a80124000464244600400660106ae84d55cf280311931a99ab9c00b00c00a009008135573aa00626ae8940044d55cf280089baa001232323333573466e1d400520022321223001003375c6ae84d55cf280191999ab9a3370ea004900011909118010019bae357426aae7940108c98d4cd5ce00400480380300289aab9d5001137540022244464646666ae68cdc39aab9d5002480008cd5403cc018d5d0a80118029aba135744a004464c6a66ae7002002401c0184d55cf280089baa00149924103505431001200132001355008221122253350011350032200122133350052200230040023335530071200100500400132001355007222533500110022213500222330073330080020060010033200135500622225335001100222135002225335333573466e1c005200000d00c13330080070060031333008007335009123330010080030020060031122002122122330010040031122123300100300212200212200111232300100122330033002002001482c0252210853696c6c69636f6e003351223300248920975e4c7f8d7937f8102e500714feb3f014c8766fcf287a11c10c686154fcb27500480088848cc00400c00880050581840100d87980821a001f372a1a358a2b14f5f6"
Instance details

Defined in GeniusYield.Types.Tx

ToJSON GYTxId #
>>> Aeson.toJSON gyTxId
String "6c751d3e198c5608dfafdfdffe16aeac8a28f88f3a769cf22dd45e8bc84f47e8"
Instance details

Defined in GeniusYield.Types.Tx

ToJSON GYTxOutRef # 
Instance details

Defined in GeniusYield.Types.TxOutRef

ToJSON GYAssetClass #
>>> LBS8.putStrLn $ Aeson.encode GYLovelace
"lovelace"
>>> LBS8.putStrLn $ Aeson.encode $ GYToken "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" "Gold"
"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef.476f6c64"
Instance details

Defined in GeniusYield.Types.Value

ToJSON GYTokenName #
>>> Aeson.encode @GYTokenName "Gold"
"\"476f6c64\""
Instance details

Defined in GeniusYield.Types.Value

ToJSON GYValue #
>>> LBS8.putStrLn . Aeson.encode . valueFromList $ [(GYLovelace,22),(GYToken "ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef" "GOLD",101)]
{"lovelace":22,"ff80aaaf03a273b8f5c558168dc0e2377eea810badbae6eceefc14ef.474f4c44":101}
Instance details

Defined in GeniusYield.Types.Value

ToJSON All

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONAllValue #

toEncodingAllEncoding #

toJSONList ∷ [All] → Value #

toEncodingList ∷ [All] → Encoding #

omitFieldAllBool #

ToJSON Any

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONAnyValue #

toEncodingAnyEncoding #

toJSONList ∷ [Any] → Value #

toEncodingList ∷ [Any] → Encoding #

omitFieldAnyBool #

ToJSON Version 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON CTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Void 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Int16 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Int64 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Int8 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Word16 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Word32 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Word64 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Word8 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON ByteString64 
Instance details

Defined in Data.ByteString.Base64.Type

ToJSON ApiError 
Instance details

Defined in Blockfrost.Types.ApiError

ToJSON AccountDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountMir 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountRegistration 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountReward 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AccountWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AddressAssociated 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AddressAssociatedTotal 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON RewardType 
Instance details

Defined in Blockfrost.Types.Cardano.Accounts

ToJSON AddressDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressInfoExtended 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressType 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AddressUtxo 
Instance details

Defined in Blockfrost.Types.Cardano.Addresses

ToJSON AssetAction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetDetails 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetOnChainMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetTransaction 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON MetadataMediaFile 
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON Block 
Instance details

Defined in Blockfrost.Types.Cardano.Blocks

ToJSON CostModels 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON EpochInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON PoolStakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON ProtocolParams 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON StakeDistribution 
Instance details

Defined in Blockfrost.Types.Cardano.Epochs

ToJSON Genesis 
Instance details

Defined in Blockfrost.Types.Cardano.Genesis

ToJSON TxMeta 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON TxMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON TxMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Metadata

ToJSON Network 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraBound 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraParameters 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkEraSummary 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkStake 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON NetworkSupply 
Instance details

Defined in Blockfrost.Types.Cardano.Network

ToJSON Pool 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolDelegator 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolEpoch 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolHistory 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolInfo 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolRegistrationAction 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolRelay 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON PoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON InlineDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON Script 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptDatum 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptDatumCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptType 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON PoolUpdateMetadata 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON Pot 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

Methods

toJSONPotValue #

toEncodingPotEncoding #

toJSONList ∷ [Pot] → Value #

toEncodingList ∷ [Pot] → Encoding #

omitFieldPotBool #

ToJSON Transaction 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionDelegation 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionMetaCBOR 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionMetaJSON 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionMir 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionPoolRetiring 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionPoolUpdate 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionRedeemer 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionStake 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionUtxos 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON TransactionWithdrawal 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON UtxoInput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON UtxoOutput 
Instance details

Defined in Blockfrost.Types.Cardano.Transactions

ToJSON DerivedAddress 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

ToJSON TxEval 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

ToJSON TxEvalBudget 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

ToJSON TxEvalFailure 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

Methods

toJSON ∷ TxEvalFailure → Value #

toEncoding ∷ TxEvalFailure → Encoding #

toJSONList ∷ [TxEvalFailure] → Value #

toEncodingList ∷ [TxEvalFailure] → Encoding #

omitField ∷ TxEvalFailure → Bool #

ToJSON TxEvalInput 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

ToJSON TxEvalValidator 
Instance details

Defined in Blockfrost.Types.Cardano.Utils

ToJSON Healthy 
Instance details

Defined in Blockfrost.Types.Common

ToJSON Metric 
Instance details

Defined in Blockfrost.Types.Common

ToJSON ServerTime 
Instance details

Defined in Blockfrost.Types.Common

ToJSON URLVersion 
Instance details

Defined in Blockfrost.Types.Common

ToJSON IPFSAdd 
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON IPFSPin 
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON IPFSPinChange 
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON PinState 
Instance details

Defined in Blockfrost.Types.IPFS

ToJSON NutlinkAddress 
Instance details

Defined in Blockfrost.Types.NutLink

ToJSON NutlinkAddressTicker 
Instance details

Defined in Blockfrost.Types.NutLink

ToJSON NutlinkTicker 
Instance details

Defined in Blockfrost.Types.NutLink

ToJSON Address 
Instance details

Defined in Blockfrost.Types.Shared.Address

ToJSON Amount 
Instance details

Defined in Blockfrost.Types.Shared.Amount

ToJSON AmountExtended 
Instance details

Defined in Blockfrost.Types.Shared.Amount

ToJSON AssetId 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

ToJSON BlockHash 
Instance details

Defined in Blockfrost.Types.Shared.BlockHash

ToJSON CBORString 
Instance details

Defined in Blockfrost.Types.Shared.CBOR

ToJSON DatumHash 
Instance details

Defined in Blockfrost.Types.Shared.DatumHash

ToJSON Epoch 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToJSON EpochLength 
Instance details

Defined in Blockfrost.Types.Shared.Epoch

ToJSON POSIXMillis 
Instance details

Defined in Blockfrost.Types.Shared.POSIXMillis

ToJSON PolicyId 
Instance details

Defined in Blockfrost.Types.Shared.PolicyId

ToJSON PoolId 
Instance details

Defined in Blockfrost.Types.Shared.PoolId

ToJSON Quantity 
Instance details

Defined in Blockfrost.Types.Shared.Quantity

ToJSON ScriptHash 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

ToJSON ScriptHashList 
Instance details

Defined in Blockfrost.Types.Shared.ScriptHash

ToJSON Slot 
Instance details

Defined in Blockfrost.Types.Shared.Slot

ToJSON TxHash 
Instance details

Defined in Blockfrost.Types.Shared.TxHash

ToJSON ValidationPurpose 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

(TypeError ('Text "Forbidden ToJSON ByteString instance") ∷ Constraint) ⇒ ToJSON ByteString # 
Instance details

Defined in GeniusYield.Imports

ToJSON ChainPointer 
Instance details

Defined in Cardano.Address

ToJSON NetworkTag 
Instance details

Defined in Cardano.Address

ToJSON Cosigner 
Instance details

Defined in Cardano.Address.Script

ToJSON KeyHash 
Instance details

Defined in Cardano.Address.Script

ToJSON ScriptTemplate 
Instance details

Defined in Cardano.Address.Script

ToJSON AddressInfo 
Instance details

Defined in Cardano.Address.Style.Byron

ToJSON ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Byron

ToJSON PayloadInfo 
Instance details

Defined in Cardano.Address.Style.Byron

Methods

toJSON ∷ PayloadInfo → Value #

toEncoding ∷ PayloadInfo → Encoding #

toJSONList ∷ [PayloadInfo] → Value #

toEncodingList ∷ [PayloadInfo] → Encoding #

omitField ∷ PayloadInfo → Bool #

ToJSON AddressInfo 
Instance details

Defined in Cardano.Address.Style.Icarus

ToJSON ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Icarus

ToJSON AddressInfo 
Instance details

Defined in Cardano.Address.Style.Shelley

ToJSON ErrInspectAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

ToJSON ErrInspectAddressOnlyShelley 
Instance details

Defined in Cardano.Address.Style.Shelley

ToJSON InspectAddress 
Instance details

Defined in Cardano.Address.Style.Shelley

ToJSON StakeAddress 
Instance details

Defined in Cardano.Api.Address

ToJSON StakeCredential 
Instance details

Defined in Cardano.Api.Address

ToJSON ChainPoint 
Instance details

Defined in Cardano.Api.Block

ToJSON ChainTip 
Instance details

Defined in Cardano.Api.Block

ToJSON AnyShelleyBasedEra 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

ToJSON AnyCardanoEra 
Instance details

Defined in Cardano.Api.Eras.Core

ToJSON LocalTxMonitoringResult 
Instance details

Defined in Cardano.Api.IPC

ToJSON TxValidationErrorInCardanoMode 
Instance details

Defined in Cardano.Api.InMode

ToJSON CostModels 
Instance details

Defined in Cardano.Api.ProtocolParameters

Methods

toJSON ∷ CostModels → Value #

toEncoding ∷ CostModels → Encoding #

toJSONList ∷ [CostModels] → Value #

toEncodingList ∷ [CostModels] → Encoding #

omitField ∷ CostModels → Bool #

ToJSON ExecutionUnitPrices 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON PraosNonce 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON ProtocolParameters 
Instance details

Defined in Cardano.Api.ProtocolParameters

ToJSON DelegationsAndRewards 
Instance details

Defined in Cardano.Api.Rewards

ToJSON AnyPlutusScriptVersion 
Instance details

Defined in Cardano.Api.Script

ToJSON ExecutionUnits 
Instance details

Defined in Cardano.Api.Script

ToJSON ScriptHash 
Instance details

Defined in Cardano.Api.Script

ToJSON ScriptInAnyLang 
Instance details

Defined in Cardano.Api.Script

ToJSON SimpleScript 
Instance details

Defined in Cardano.Api.Script

ToJSON TextEnvelopeCddl 
Instance details

Defined in Cardano.Api.SerialiseLedgerCddl

ToJSON TextEnvelope 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON TextEnvelopeDescr 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON TextEnvelopeType 
Instance details

Defined in Cardano.Api.SerialiseTextEnvelope

ToJSON ScriptWitnessIndex 
Instance details

Defined in Cardano.Api.Tx.Body

ToJSON TxId 
Instance details

Defined in Cardano.Api.TxIn

ToJSON TxIn 
Instance details

Defined in Cardano.Api.TxIn

ToJSON TxIx 
Instance details

Defined in Cardano.Api.TxIn

ToJSON AssetName 
Instance details

Defined in Cardano.Api.Value

ToJSON Lovelace 
Instance details

Defined in Cardano.Api.Value

ToJSON PolicyId 
Instance details

Defined in Cardano.Api.Value

ToJSON Quantity 
Instance details

Defined in Cardano.Api.Value

ToJSON Value 
Instance details

Defined in Cardano.Api.Value

ToJSON ValueNestedRep 
Instance details

Defined in Cardano.Api.Value

ToJSON ProtocolMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON ProtocolMagicId 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON RequiresNetworkMagic 
Instance details

Defined in Cardano.Crypto.ProtocolMagic

ToJSON CompactRedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Compact

ToJSON RedeemVerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.VerificationKey

ToJSON VerificationKey 
Instance details

Defined in Cardano.Crypto.Signing.VerificationKey

ToJSON AlonzoGenesis 
Instance details

Defined in Cardano.Ledger.Alonzo.Genesis

ToJSON CoinPerWord 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

ToJSON OrdExUnits 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

ToJSON MemberStatus 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

ToJSON NextEpochChange 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

ToJSON CoinPerByte 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

ToJSON ByteSpan 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

ToJSON Version 
Instance details

Defined in Cardano.Ledger.Binary.Version

ToJSON Proof 
Instance details

Defined in Cardano.Chain.Block.Proof

ToJSON AddrAttributes 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToJSON HDAddressPayload 
Instance details

Defined in Cardano.Chain.Common.AddrAttributes

ToJSON AddrType 
Instance details

Defined in Cardano.Chain.Common.AddrSpendingData

ToJSON Address 
Instance details

Defined in Cardano.Chain.Common.Address

ToJSON UnparsedFields 
Instance details

Defined in Cardano.Chain.Common.Attributes

ToJSON ChainDifficulty 
Instance details

Defined in Cardano.Chain.Common.ChainDifficulty

ToJSON Lovelace 
Instance details

Defined in Cardano.Chain.Common.Lovelace

ToJSON LovelacePortion 
Instance details

Defined in Cardano.Chain.Common.LovelacePortion

ToJSON NetworkMagic 
Instance details

Defined in Cardano.Chain.Common.NetworkMagic

ToJSON TxFeePolicy 
Instance details

Defined in Cardano.Chain.Common.TxFeePolicy

ToJSON TxSizeLinear 
Instance details

Defined in Cardano.Chain.Common.TxSizeLinear

ToJSON GenesisHash 
Instance details

Defined in Cardano.Chain.Genesis.Hash

ToJSON EpochNumber 
Instance details

Defined in Cardano.Chain.Slotting.EpochNumber

ToJSON SlotNumber 
Instance details

Defined in Cardano.Chain.Slotting.SlotNumber

ToJSON SscPayload 
Instance details

Defined in Cardano.Chain.Ssc

ToJSON SscProof 
Instance details

Defined in Cardano.Chain.Ssc

ToJSON Tx 
Instance details

Defined in Cardano.Chain.UTxO.Tx

Methods

toJSONTxValue #

toEncodingTxEncoding #

toJSONList ∷ [Tx] → Value #

toEncodingList ∷ [Tx] → Encoding #

omitFieldTxBool #

ToJSON TxIn 
Instance details

Defined in Cardano.Chain.UTxO.Tx

ToJSON TxOut 
Instance details

Defined in Cardano.Chain.UTxO.Tx

ToJSON TxProof 
Instance details

Defined in Cardano.Chain.UTxO.TxProof

ToJSON TxInWitness 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

ToJSON TxSigData 
Instance details

Defined in Cardano.Chain.UTxO.TxWitness

ToJSON ApplicationName 
Instance details

Defined in Cardano.Chain.Update.ApplicationName

ToJSON InstallerHash 
Instance details

Defined in Cardano.Chain.Update.InstallerHash

ToJSON ProposalBody 
Instance details

Defined in Cardano.Chain.Update.Proposal

ToJSON ProtocolParametersUpdate 
Instance details

Defined in Cardano.Chain.Update.ProtocolParametersUpdate

ToJSON ProtocolVersion 
Instance details

Defined in Cardano.Chain.Update.ProtocolVersion

ToJSON SoftforkRule 
Instance details

Defined in Cardano.Chain.Update.SoftforkRule

ToJSON SoftwareVersion 
Instance details

Defined in Cardano.Chain.Update.SoftwareVersion

ToJSON SystemTag 
Instance details

Defined in Cardano.Chain.Update.SystemTag

ToJSON GovActionIx 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

ToJSON Vote 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

ToJSON DRepVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON PoolVotingThresholds 
Instance details

Defined in Cardano.Ledger.Conway.PParams

ToJSON CertIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON DnsName 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON EpochInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON Network 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON NonNegativeInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON Nonce 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON Port 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON PositiveInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON PositiveUnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON ProtVer 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON TxIx 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON UnitInterval 
Instance details

Defined in Cardano.Ledger.BaseTypes

ToJSON Url 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSONUrlValue #

toEncodingUrlEncoding #

toJSONList ∷ [Url] → Value #

toEncodingList ∷ [Url] → Encoding #

omitFieldUrlBool #

ToJSON Coin 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON DeltaCoin 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON Ptr 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONPtrValue #

toEncodingPtrEncoding #

toJSONList ∷ [Ptr] → Value #

toEncodingList ∷ [Ptr] → Encoding #

omitFieldPtrBool #

ToJSON CostModel 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

ToJSON CostModelError 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

ToJSON CostModels 
Instance details

Defined in Cardano.Ledger.Plutus.CostModels

ToJSON ExUnits 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

ToJSON Prices 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

ToJSON Language 
Instance details

Defined in Cardano.Ledger.Plutus.Language

ToJSON PoolMetadata 
Instance details

Defined in Cardano.Ledger.PoolParams

ToJSON StakePoolRelay 
Instance details

Defined in Cardano.Ledger.PoolParams

ToJSON RewardType 
Instance details

Defined in Cardano.Ledger.Rewards

ToJSON AssetName 
Instance details

Defined in Cardano.Ledger.Mary.Value

ToJSON RewardInfoPool 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

ToJSON RewardParams 
Instance details

Defined in Cardano.Ledger.Shelley.API.Wallet

ToJSON NominalDiffTimeMicro 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

ToJSON AccountState 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

ToJSON Likelihood 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

ToJSON LogWeight 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

ToJSON Desirability 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

ToJSON MIRPot 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

ToJSON ShutdownOn 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

ToJSON ShutdownTrace 
Instance details

Defined in Cardano.Node.Handlers.Shutdown

ToJSON NodeInfo 
Instance details

Defined in Cardano.Node.Startup

ToJSON NodeStartupInfo 
Instance details

Defined in Cardano.Node.Startup

ToJSON GenesisHash 
Instance details

Defined in Cardano.Node.Types

ToJSON InitiatorOnly 
Instance details

Defined in Cardano.Network.Ping

ToJSON NodeVersion 
Instance details

Defined in Cardano.Network.Ping

ToJSON PeerSharing 
Instance details

Defined in Cardano.Network.Ping

Methods

toJSON ∷ PeerSharing → Value #

toEncoding ∷ PeerSharing → Encoding #

toJSONList ∷ [PeerSharing] → Value #

toEncodingList ∷ [PeerSharing] → Encoding #

omitField ∷ PeerSharing → Bool #

ToJSON StatPoint 
Instance details

Defined in Cardano.Network.Ping

ToJSON BlockNo 
Instance details

Defined in Cardano.Slotting.Block

ToJSON EpochNo 
Instance details

Defined in Cardano.Slotting.Slot

ToJSON EpochSize 
Instance details

Defined in Cardano.Slotting.Slot

ToJSON SlotNo 
Instance details

Defined in Cardano.Slotting.Slot

ToJSON RelativeTime 
Instance details

Defined in Cardano.Slotting.Time

ToJSON SystemStart 
Instance details

Defined in Cardano.Slotting.Time

ToJSON AssetName 
Instance details

Defined in Cardano.Wallet.Primitive.Types.AssetName

ToJSON TokenPolicyId 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenPolicyId

ToJSON TokenQuantity 
Instance details

Defined in Cardano.Wallet.Primitive.Types.TokenQuantity

ToJSON IntSet 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Ordering 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Aggregated 
Instance details

Defined in Cardano.BM.Data.Aggregated

ToJSON BaseStats 
Instance details

Defined in Cardano.BM.Data.Aggregated

ToJSON EWMA 
Instance details

Defined in Cardano.BM.Data.Aggregated

ToJSON Measurable 
Instance details

Defined in Cardano.BM.Data.Aggregated

ToJSON Stats 
Instance details

Defined in Cardano.BM.Data.Aggregated

ToJSON AggregatedKind 
Instance details

Defined in Cardano.BM.Data.AggregatedKind

ToJSON BackendKind 
Instance details

Defined in Cardano.BM.Data.BackendKind

ToJSON Endpoint 
Instance details

Defined in Cardano.BM.Data.Configuration

ToJSON RemoteAddr 
Instance details

Defined in Cardano.BM.Data.Configuration

ToJSON RemoteAddrNamed 
Instance details

Defined in Cardano.BM.Data.Configuration

ToJSON Representation 
Instance details

Defined in Cardano.BM.Data.Configuration

ToJSON Counter 
Instance details

Defined in Cardano.BM.Data.Counter

ToJSON CounterState 
Instance details

Defined in Cardano.BM.Data.Counter

ToJSON CounterType 
Instance details

Defined in Cardano.BM.Data.Counter

ToJSON CommandValue 
Instance details

Defined in Cardano.BM.Data.LogItem

ToJSON LOMeta 
Instance details

Defined in Cardano.BM.Data.LogItem

ToJSON MonitorAction 
Instance details

Defined in Cardano.BM.Data.LogItem

ToJSON ObservableInstance 
Instance details

Defined in Cardano.BM.Data.Observable

ToJSON ScribeDefinition 
Instance details

Defined in Cardano.BM.Data.Output

ToJSON ScribeFormat 
Instance details

Defined in Cardano.BM.Data.Output

ToJSON ScribeKind 
Instance details

Defined in Cardano.BM.Data.Output

ToJSON ScribePrivacy 
Instance details

Defined in Cardano.BM.Data.Output

ToJSON RotationParameters 
Instance details

Defined in Cardano.BM.Data.Rotation

ToJSON Severity 
Instance details

Defined in Cardano.BM.Data.Severity

ToJSON DropName 
Instance details

Defined in Cardano.BM.Data.SubTrace

ToJSON NameSelector 
Instance details

Defined in Cardano.BM.Data.SubTrace

ToJSON SubTrace 
Instance details

Defined in Cardano.BM.Data.SubTrace

ToJSON UnhideNames 
Instance details

Defined in Cardano.BM.Data.SubTrace

ToJSON Environment 
Instance details

Defined in Katip.Core

ToJSON LocJs 
Instance details

Defined in Katip.Core

ToJSON Namespace 
Instance details

Defined in Katip.Core

ToJSON ProcessIDJs 
Instance details

Defined in Katip.Core

ToJSON Severity 
Instance details

Defined in Katip.Core

ToJSON SimpleLogPayload

A built-in convenience log payload that won't log anything on V0, but will log everything in any other level of verbosity. Intended for easy in-line usage without having to define new log types.

Construct using sl and combine multiple tuples using <> from Monoid.

Instance details

Defined in Katip.Core

ToJSON ThreadIdText 
Instance details

Defined in Katip.Core

ToJSON Verbosity 
Instance details

Defined in Katip.Core

ToJSON LogContexts 
Instance details

Defined in Katip.Monadic

ToJSON ApiError 
Instance details

Defined in Maestro.Client.Error

ToJSON AbsoluteSlot 
Instance details

Defined in Maestro.Types.Common

ToJSON BlockHash 
Instance details

Defined in Maestro.Types.Common

ToJSON BlockHeight 
Instance details

Defined in Maestro.Types.Common

ToJSON DatumOption 
Instance details

Defined in Maestro.Types.Common

ToJSON DatumOptionType 
Instance details

Defined in Maestro.Types.Common

ToJSON EpochNo 
Instance details

Defined in Maestro.Types.Common

ToJSON EpochSize 
Instance details

Defined in Maestro.Types.Common

ToJSON Order 
Instance details

Defined in Maestro.Types.Common

ToJSON PolicyId 
Instance details

Defined in Maestro.Types.Common

ToJSON Script 
Instance details

Defined in Maestro.Types.Common

ToJSON ScriptType 
Instance details

Defined in Maestro.Types.Common

ToJSON SlotNo 
Instance details

Defined in Maestro.Types.Common

ToJSON TokenName 
Instance details

Defined in Maestro.Types.Common

ToJSON TxHash 
Instance details

Defined in Maestro.Types.Common

ToJSON TxIndex 
Instance details

Defined in Maestro.Types.Common

ToJSON AccountAction 
Instance details

Defined in Maestro.Types.V1.Accounts

Methods

toJSON ∷ AccountAction → Value #

toEncoding ∷ AccountAction → Encoding #

toJSONList ∷ [AccountAction] → Value #

toEncodingList ∷ [AccountAction] → Encoding #

omitField ∷ AccountAction → Bool #

ToJSON AccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON AccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON AccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON AccountStakingRewardType 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON AccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON PaginatedAccountHistory 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON PaginatedAccountReward 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON PaginatedAccountUpdate 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON PaginatedAddress 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON PaginatedAsset 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON TimestampedAccountInfo 
Instance details

Defined in Maestro.Types.V1.Accounts

ToJSON AddressInfo 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON AddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON CertIndex 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON ChainPointer 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON NetworkId 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON OutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaginatedAddressTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaginatedOutputReferenceObject 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaginatedPaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaymentCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaymentCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON PaymentCredentialTransaction 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON StakingCredKind 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON StakingCredential 
Instance details

Defined in Maestro.Types.V1.Addresses

ToJSON AssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

ToJSON TimestampedAssetInfo 
Instance details

Defined in Maestro.Types.V1.Assets

ToJSON TokenRegistryMetadata 
Instance details

Defined in Maestro.Types.V1.Assets

ToJSON BlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

ToJSON TimestampedBlockDetails 
Instance details

Defined in Maestro.Types.V1.Blocks

ToJSON Asset 
Instance details

Defined in Maestro.Types.V1.Common

ToJSON AssetUnit 
Instance details

Defined in Maestro.Types.V1.Common

ToJSON PaginatedUtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

ToJSON UtxoWithSlot 
Instance details

Defined in Maestro.Types.V1.Common

ToJSON NextCursor 
Instance details

Defined in Maestro.Types.V1.Common.Pagination

ToJSON LastUpdated 
Instance details

Defined in Maestro.Types.V1.Common.Timestamped

ToJSON Datum 
Instance details

Defined in Maestro.Types.V1.Datum

ToJSON TimestampedDatum 
Instance details

Defined in Maestro.Types.V1.Datum

ToJSON Dex 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

Methods

toJSONDexValue #

toEncodingDexEncoding #

toJSONList ∷ [Dex] → Value #

toEncodingList ∷ [Dex] → Encoding #

omitFieldDexBool #

ToJSON Resolution 
Instance details

Defined in Maestro.Types.V1.DefiMarkets

ToJSON ChainTip 
Instance details

Defined in Maestro.Types.V1.General

ToJSON CostModel 
Instance details

Defined in Maestro.Types.V1.General

ToJSON CostModels 
Instance details

Defined in Maestro.Types.V1.General

ToJSON EraBound 
Instance details

Defined in Maestro.Types.V1.General

ToJSON EraParameters 
Instance details

Defined in Maestro.Types.V1.General

ToJSON EraSummary 
Instance details

Defined in Maestro.Types.V1.General

ToJSON MaestroRational 
Instance details

Defined in Maestro.Types.V1.General

ToJSON ProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

ToJSON ProtocolVersion 
Instance details

Defined in Maestro.Types.V1.General

ToJSON TimestampedChainTip 
Instance details

Defined in Maestro.Types.V1.General

ToJSON TimestampedEraSummaries 
Instance details

Defined in Maestro.Types.V1.General

ToJSON TimestampedProtocolParameters 
Instance details

Defined in Maestro.Types.V1.General

ToJSON TimestampedSystemStart 
Instance details

Defined in Maestro.Types.V1.General

ToJSON PaginatedPoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

ToJSON PoolListInfo 
Instance details

Defined in Maestro.Types.V1.Pools

ToJSON OutputReference 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON PaginatedUtxo 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON TimestampedTxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON TxDetails 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON UtxoWithBytes 
Instance details

Defined in Maestro.Types.V1.Transactions

ToJSON URI

Since: aeson-2.2.0.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONURIValue #

toEncodingURIEncoding #

toJSONList ∷ [URI] → Value #

toEncodingList ∷ [URI] → Encoding #

omitFieldURIBool #

ToJSON AdditionalProperties 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ApiKeyLocation 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ApiKeyParams 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Callback 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Components 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Contact 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Discriminator 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Encoding 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Example 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ExpressionOrValue 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ExternalDocs 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Header 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Info 
Instance details

Defined in Data.OpenApi.Internal

ToJSON License 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Link 
Instance details

Defined in Data.OpenApi.Internal

ToJSON MediaTypeObject 
Instance details

Defined in Data.OpenApi.Internal

ToJSON MimeList 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2AuthorizationCodeFlow 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2ClientCredentialsFlow 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2Flows 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2ImplicitFlow 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OAuth2PasswordFlow 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApi 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiItems

As for nullary schema for 0-arity type constructors, see https://github.com/GetShopTV/swagger2/issues/167.

>>> BSL.putStrLn $ encodePretty (OpenApiItemsArray [])
{
    "example": [],
    "items": {},
    "maxItems": 0
}
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiSpecVersion 
Instance details

Defined in Data.OpenApi.Internal

ToJSON OpenApiType 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Operation 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Param 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ParamLocation 
Instance details

Defined in Data.OpenApi.Internal

ToJSON PathItem 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Reference 
Instance details

Defined in Data.OpenApi.Internal

ToJSON RequestBody 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Response 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Responses 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Schema 
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityDefinitions 
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityRequirement 
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecurityScheme 
Instance details

Defined in Data.OpenApi.Internal

ToJSON SecuritySchemeType 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Server 
Instance details

Defined in Data.OpenApi.Internal

ToJSON ServerVariable 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Style 
Instance details

Defined in Data.OpenApi.Internal

ToJSON Tag 
Instance details

Defined in Data.OpenApi.Internal

Methods

toJSONTagValue #

toEncodingTagEncoding #

toJSONList ∷ [Tag] → Value #

toEncodingList ∷ [Tag] → Encoding #

omitFieldTagBool #

ToJSON URL 
Instance details

Defined in Data.OpenApi.Internal

Methods

toJSONURLValue #

toEncodingURLEncoding #

toJSONList ∷ [URL] → Value #

toEncodingList ∷ [URL] → Encoding #

omitFieldURLBool #

ToJSON Xml 
Instance details

Defined in Data.OpenApi.Internal

Methods

toJSONXmlValue #

toEncodingXmlEncoding #

toJSONList ∷ [Xml] → Value #

toEncodingList ∷ [Xml] → Encoding #

omitFieldXmlBool #

ToJSON PeerAdvertise 
Instance details

Defined in Ouroboros.Network.PeerSelection.PeerAdvertise

ToJSON DomainAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON RelayAccessPoint 
Instance details

Defined in Ouroboros.Network.PeerSelection.RelayAccessPoint

ToJSON ExBudget 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExBudget

ToJSON ExCPU 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToJSON ExMemory 
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToJSON SatInt 
Instance details

Defined in Data.SatInt

ToJSON CovLoc 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageAnnotation 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageData 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageIndex 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageMetadata 
Instance details

Defined in PlutusTx.Coverage

ToJSON CoverageReport 
Instance details

Defined in PlutusTx.Coverage

ToJSON Metadata 
Instance details

Defined in PlutusTx.Coverage

ToJSON Rational

This mimics the behaviour of Aeson's instance for Rational.

Instance details

Defined in PlutusTx.Ratio

ToJSON SentryLevel 
Instance details

Defined in System.Log.Raven.Types

ToJSON SentryRecord 
Instance details

Defined in System.Log.Raven.Types

ToJSON Scientific 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON BaseUrl
>>> traverse_ (LBS8.putStrLn . encode) (parseBaseUrl "api.example.com" :: [BaseUrl])
"http://api.example.com"
Instance details

Defined in Servant.Client.Core.BaseUrl

ToJSON StudentT 
Instance details

Defined in Statistics.Distribution.StudentT

ToJSON AdditionalProperties 
Instance details

Defined in Data.Swagger.Internal

ToJSON ApiKeyLocation 
Instance details

Defined in Data.Swagger.Internal

ToJSON ApiKeyParams 
Instance details

Defined in Data.Swagger.Internal

ToJSON Contact 
Instance details

Defined in Data.Swagger.Internal

ToJSON Example 
Instance details

Defined in Data.Swagger.Internal

ToJSON ExternalDocs 
Instance details

Defined in Data.Swagger.Internal

ToJSON Header 
Instance details

Defined in Data.Swagger.Internal

ToJSON Host 
Instance details

Defined in Data.Swagger.Internal

ToJSON Info 
Instance details

Defined in Data.Swagger.Internal

ToJSON License 
Instance details

Defined in Data.Swagger.Internal

ToJSON MimeList 
Instance details

Defined in Data.Swagger.Internal

ToJSON OAuth2Flow 
Instance details

Defined in Data.Swagger.Internal

ToJSON OAuth2Params 
Instance details

Defined in Data.Swagger.Internal

ToJSON Operation 
Instance details

Defined in Data.Swagger.Internal

ToJSON Param 
Instance details

Defined in Data.Swagger.Internal

ToJSON ParamAnySchema 
Instance details

Defined in Data.Swagger.Internal

ToJSON ParamLocation 
Instance details

Defined in Data.Swagger.Internal

ToJSON ParamOtherSchema 
Instance details

Defined in Data.Swagger.Internal

ToJSON PathItem 
Instance details

Defined in Data.Swagger.Internal

ToJSON Reference 
Instance details

Defined in Data.Swagger.Internal

ToJSON Response 
Instance details

Defined in Data.Swagger.Internal

ToJSON Responses 
Instance details

Defined in Data.Swagger.Internal

ToJSON Schema 
Instance details

Defined in Data.Swagger.Internal

ToJSON Scheme 
Instance details

Defined in Data.Swagger.Internal

ToJSON SecurityDefinitions 
Instance details

Defined in Data.Swagger.Internal

ToJSON SecurityRequirement 
Instance details

Defined in Data.Swagger.Internal

ToJSON SecurityScheme 
Instance details

Defined in Data.Swagger.Internal

ToJSON SecuritySchemeType 
Instance details

Defined in Data.Swagger.Internal

ToJSON Swagger 
Instance details

Defined in Data.Swagger.Internal

ToJSON Tag 
Instance details

Defined in Data.Swagger.Internal

Methods

toJSONTagValue #

toEncodingTagEncoding #

toJSONList ∷ [Tag] → Value #

toEncodingList ∷ [Tag] → Encoding #

omitFieldTagBool #

ToJSON URL 
Instance details

Defined in Data.Swagger.Internal

Methods

toJSONURLValue #

toEncodingURLEncoding #

toJSONList ∷ [URL] → Value #

toEncodingList ∷ [URL] → Encoding #

omitFieldURLBool #

ToJSON Xml 
Instance details

Defined in Data.Swagger.Internal

Methods

toJSONXmlValue #

toEncodingXmlEncoding #

toJSONList ∷ [Xml] → Value #

toEncodingList ∷ [Xml] → Encoding #

omitFieldXmlBool #

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Text 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON ShortText

Since: aeson-2.0.2.0

Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON CalendarDiffDays 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Day 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDayValue #

toEncodingDayEncoding #

toJSONList ∷ [Day] → Value #

toEncodingList ∷ [Day] → Encoding #

omitFieldDayBool #

ToJSON Month 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Quarter 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON QuarterOfYear 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON DayOfWeek 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON DiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON NominalDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON SystemTime

Encoded as number

Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON UTCTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON CalendarDiffTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON LocalTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON TimeOfDay 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON ZonedTime 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON ConfigOptionRep 
Instance details

Defined in Cardano.Logging.ConfigurationParser

Methods

toJSON ∷ ConfigOptionRep → Value #

toEncoding ∷ ConfigOptionRep → Encoding #

toJSONList ∷ [ConfigOptionRep] → Value #

toEncodingList ∷ [ConfigOptionRep] → Encoding #

omitField ∷ ConfigOptionRep → Bool #

ToJSON ConfigRepresentation 
Instance details

Defined in Cardano.Logging.ConfigurationParser

Methods

toJSON ∷ ConfigRepresentation → Value #

toEncoding ∷ ConfigRepresentation → Encoding #

toJSONList ∷ [ConfigRepresentation] → Value #

toEncodingList ∷ [ConfigRepresentation] → Encoding #

omitField ∷ ConfigRepresentation → Bool #

ToJSON BackendConfig 
Instance details

Defined in Cardano.Logging.Types

ToJSON DetailLevel 
Instance details

Defined in Cardano.Logging.Types

ToJSON SeverityF 
Instance details

Defined in Cardano.Logging.Types

ToJSON SeverityS 
Instance details

Defined in Cardano.Logging.Types

ToJSON TraceOptionForwarder 
Instance details

Defined in Cardano.Logging.Types

ToJSON Verbosity 
Instance details

Defined in Cardano.Logging.Types

ToJSON UUID 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Integer 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Natural 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON () 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ () → Value #

toEncoding ∷ () → Encoding #

toJSONList ∷ [()] → Value #

toEncodingList ∷ [()] → Encoding #

omitField ∷ () → Bool #

ToJSON Bool 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Char 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Double 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Float 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON Int 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntValue #

toEncodingIntEncoding #

toJSONList ∷ [Int] → Value #

toEncodingList ∷ [Int] → Encoding #

omitFieldIntBool #

ToJSON Word 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON v ⇒ ToJSON (KeyMap v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONKeyMap v → Value #

toEncodingKeyMap v → Encoding #

toJSONList ∷ [KeyMap v] → Value #

toEncodingList ∷ [KeyMap v] → Encoding #

omitFieldKeyMap v → Bool #

ToJSON a ⇒ ToJSON (Confidential a) # 
Instance details

Defined in GeniusYield.GYConfig

ToJSON a ⇒ ToJSON (Identity a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

omitFieldFirst a → Bool #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

omitFieldLast a → Bool #

ToJSON a ⇒ ToJSON (Down a)

Since: aeson-2.2.0.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDown a → Value #

toEncodingDown a → Encoding #

toJSONList ∷ [Down a] → Value #

toEncodingList ∷ [Down a] → Encoding #

omitFieldDown a → Bool #

ToJSON a ⇒ ToJSON (First a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFirst a → Value #

toEncodingFirst a → Encoding #

toJSONList ∷ [First a] → Value #

toEncodingList ∷ [First a] → Encoding #

omitFieldFirst a → Bool #

ToJSON a ⇒ ToJSON (Last a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONLast a → Value #

toEncodingLast a → Encoding #

toJSONList ∷ [Last a] → Value #

toEncodingList ∷ [Last a] → Encoding #

omitFieldLast a → Bool #

ToJSON a ⇒ ToJSON (Max a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMax a → Value #

toEncodingMax a → Encoding #

toJSONList ∷ [Max a] → Value #

toEncodingList ∷ [Max a] → Encoding #

omitFieldMax a → Bool #

ToJSON a ⇒ ToJSON (Min a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMin a → Value #

toEncodingMin a → Encoding #

toJSONList ∷ [Min a] → Value #

toEncodingList ∷ [Min a] → Encoding #

omitFieldMin a → Bool #

ToJSON a ⇒ ToJSON (WrappedMonoid a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (Dual a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDual a → Value #

toEncodingDual a → Encoding #

toJSONList ∷ [Dual a] → Value #

toEncodingList ∷ [Dual a] → Encoding #

omitFieldDual a → Bool #

ToJSON a ⇒ ToJSON (Product a)

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (Sum a)

Since: aeson-2.2.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum a → Value #

toEncodingSum a → Encoding #

toJSONList ∷ [Sum a] → Value #

toEncodingList ∷ [Sum a] → Encoding #

omitFieldSum a → Bool #

ToJSON a ⇒ ToJSON (NonEmpty a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

(Generic a, GToJSON' Value Zero (Rep a), GToJSON' Encoding Zero (Rep a)) ⇒ ToJSON (Generically a)

Since: aeson-2.1.0.0

Instance details

Defined in Data.Aeson.Types.ToJSON

(ToJSON a, Integral a) ⇒ ToJSON (Ratio a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONRatio a → Value #

toEncodingRatio a → Encoding #

toJSONList ∷ [Ratio a] → Value #

toEncodingList ∷ [Ratio a] → Encoding #

omitFieldRatio a → Bool #

(Exception e, Generic e, GToJSON Zero (Rep e)) ⇒ ToJSON (WithErrorMessage e) 
Instance details

Defined in Cardano.Address.Internal

ToJSON elem ⇒ ToJSON (Script elem) 
Instance details

Defined in Cardano.Address.Script

Methods

toJSONScript elem → Value #

toEncodingScript elem → Encoding #

toJSONList ∷ [Script elem] → Value #

toEncodingList ∷ [Script elem] → Encoding #

omitFieldScript elem → Bool #

ToJSON (Address ByronAddr) 
Instance details

Defined in Cardano.Api.Address

ToJSON (Address ShelleyAddr) 
Instance details

Defined in Cardano.Api.Address

IsCardanoEra era ⇒ ToJSON (AddressInEra era) 
Instance details

Defined in Cardano.Api.Address

ToJSON (ShelleyBasedEra era) 
Instance details

Defined in Cardano.Api.Eon.ShelleyBasedEra

ToJSON (CardanoEra era) 
Instance details

Defined in Cardano.Api.Eras.Core

ToJSON (Hash BlockHeader) 
Instance details

Defined in Cardano.Api.Block

ToJSON (Hash DRepKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash GenesisKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash PaymentKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash StakePoolKey) 
Instance details

Defined in Cardano.Api.Keys.Shelley

ToJSON (Hash ScriptData) 
Instance details

Defined in Cardano.Api.ScriptData

ToJSON (TxValidationError era) 
Instance details

Defined in Cardano.Api.InMode

Methods

toJSON ∷ TxValidationError era → Value #

toEncoding ∷ TxValidationError era → Encoding #

toJSONList ∷ [TxValidationError era] → Value #

toEncodingList ∷ [TxValidationError era] → Encoding #

omitField ∷ TxValidationError era → Bool #

IsCardanoEra era ⇒ ToJSON (UTxO era) 
Instance details

Defined in Cardano.Api.Query

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

omitFieldUTxO era → Bool #

IsCardanoEra era ⇒ ToJSON (ReferenceScript era) 
Instance details

Defined in Cardano.Api.Script

SerialiseAsBech32 a ⇒ ToJSON (UsingBech32 a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

SerialiseAsRawBytes a ⇒ ToJSON (UsingRawBytesHex a) 
Instance details

Defined in Cardano.Api.SerialiseUsing

IsCardanoEra era ⇒ ToJSON (TxOutValue era) 
Instance details

Defined in Cardano.Api.Tx.Body

Show a ⇒ ToJSON (ShowOf a) 
Instance details

Defined in Cardano.Api.Via.ShowOf

Methods

toJSONShowOf a → Value #

toEncodingShowOf a → Encoding #

toJSONList ∷ [ShowOf a] → Value #

toEncodingList ∷ [ShowOf a] → Encoding #

omitFieldShowOf a → Bool #

ToJSON a ⇒ ToJSON (RedeemSignature a) 
Instance details

Defined in Cardano.Crypto.Signing.Redeem.Signature

ToJSON (Signature w) 
Instance details

Defined in Cardano.Crypto.Signing.Signature

ToJSON a ⇒ ToJSON (OSet a) 
Instance details

Defined in Data.OSet.Strict

Methods

toJSONOSet a → Value #

toEncodingOSet a → Encoding #

toJSONList ∷ [OSet a] → Value #

toEncodingList ∷ [OSet a] → Encoding #

omitFieldOSet a → Bool #

(Era era, ToJSON (PlutusPurpose AsItem era), ToJSON (ContextError era)) ⇒ ToJSON (CollectError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.Evaluate

ToJSON (AlonzoContextError era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Plutus.TxInfo

AlonzoEraScript era ⇒ ToJSON (AlonzoScript era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

(Era era, Val (Value era)) ⇒ ToJSON (AlonzoTxOut era) 
Instance details

Defined in Cardano.Ledger.Alonzo.TxOut

Crypto c ⇒ ToJSON (CommitteeMemberState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Crypto c ⇒ ToJSON (CommitteeMembersState c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

Crypto c ⇒ ToJSON (HotCredAuthStatus c) 
Instance details

Defined in Cardano.Ledger.Api.State.Query.CommitteeMembersState

ToJSON (PlutusPurpose AsIndex era) ⇒ ToJSON (BabbageContextError era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxInfo

(Era era, ToJSON (Datum era), ToJSON (Script era), Val (Value era)) ⇒ ToJSON (BabbageTxOut era) 
Instance details

Defined in Cardano.Ledger.Babbage.TxOut

ToJSON a ⇒ ToJSON (ABlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

Methods

toJSONABlock a → Value #

toEncodingABlock a → Encoding #

toJSONList ∷ [ABlock a] → Value #

toEncodingList ∷ [ABlock a] → Encoding #

omitFieldABlock a → Bool #

ToJSON a ⇒ ToJSON (ABlockOrBoundary a) 
Instance details

Defined in Cardano.Chain.Block.Block

ToJSON a ⇒ ToJSON (ABoundaryBlock a) 
Instance details

Defined in Cardano.Chain.Block.Block

ToJSON a ⇒ ToJSON (ABoundaryBody a) 
Instance details

Defined in Cardano.Chain.Block.Block

ToJSON a ⇒ ToJSON (ABody a) 
Instance details

Defined in Cardano.Chain.Block.Body

Methods

toJSONABody a → Value #

toEncodingABody a → Encoding #

toJSONList ∷ [ABody a] → Value #

toEncodingList ∷ [ABody a] → Encoding #

omitFieldABody a → Bool #

ToJSON a ⇒ ToJSON (ABlockSignature a) 
Instance details

Defined in Cardano.Chain.Block.Header

ToJSON a ⇒ ToJSON (ABoundaryHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

ToJSON a ⇒ ToJSON (AHeader a) 
Instance details

Defined in Cardano.Chain.Block.Header

ToJSON a ⇒ ToJSON (Attributes a) 
Instance details

Defined in Cardano.Chain.Common.Attributes

ToJSON a ⇒ ToJSON (MerkleRoot a) 
Instance details

Defined in Cardano.Chain.Common.Merkle

ToJSON a ⇒ ToJSON (ACertificate a) 
Instance details

Defined in Cardano.Chain.Delegation.Certificate

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Delegation.Payload

ToJSON a ⇒ ToJSON (ATxAux a) 
Instance details

Defined in Cardano.Chain.UTxO.TxAux

Methods

toJSONATxAux a → Value #

toEncodingATxAux a → Encoding #

toJSONList ∷ [ATxAux a] → Value #

toEncodingList ∷ [ATxAux a] → Encoding #

omitFieldATxAux a → Bool #

ToJSON a ⇒ ToJSON (ATxPayload a) 
Instance details

Defined in Cardano.Chain.UTxO.TxPayload

ToJSON a ⇒ ToJSON (APayload a) 
Instance details

Defined in Cardano.Chain.Update.Payload

ToJSON a ⇒ ToJSON (AProposal a) 
Instance details

Defined in Cardano.Chain.Update.Proposal

ToJSON a ⇒ ToJSON (AVote a) 
Instance details

Defined in Cardano.Chain.Update.Vote

Methods

toJSONAVote a → Value #

toEncodingAVote a → Encoding #

toJSONList ∷ [AVote a] → Value #

toEncodingList ∷ [AVote a] → Encoding #

omitFieldAVote a → Bool #

Crypto c ⇒ ToJSON (ConwayGenesis c) 
Instance details

Defined in Cardano.Ledger.Conway.Genesis

EraPParams era ⇒ ToJSON (ConwayGovState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

EraPParams era ⇒ ToJSON (EnactState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

EraPParams era ⇒ ToJSON (PulsingSnapshot era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

EraPParams era ⇒ ToJSON (RatifyState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance

EraPParams era ⇒ ToJSON (Committee era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONCommittee era → Value #

toEncodingCommittee era → Encoding #

toJSONList ∷ [Committee era] → Value #

toEncodingList ∷ [Committee era] → Encoding #

omitFieldCommittee era → Bool #

EraPParams era ⇒ ToJSON (GovAction era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONGovAction era → Value #

toEncodingGovAction era → Encoding #

toJSONList ∷ [GovAction era] → Value #

toEncodingList ∷ [GovAction era] → Encoding #

omitFieldGovAction era → Bool #

Crypto c ⇒ ToJSON (GovActionId c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

EraPParams era ⇒ ToJSON (GovActionState era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

EraPParams era ⇒ ToJSON (ProposalProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Crypto c ⇒ ToJSON (Voter c) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONVoter c → Value #

toEncodingVoter c → Encoding #

toJSONList ∷ [Voter c] → Value #

toEncodingList ∷ [Voter c] → Encoding #

omitFieldVoter c → Bool #

EraPParams era ⇒ ToJSON (VotingProcedure era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

EraPParams era ⇒ ToJSON (VotingProcedures era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Era era ⇒ ToJSON (PrevGovActionIds era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

EraPParams era ⇒ ToJSON (Proposals era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Proposals

Methods

toJSONProposals era → Value #

toEncodingProposals era → Encoding #

toJSONList ∷ [Proposals era] → Value #

toEncodingList ∷ [Proposals era] → Encoding #

omitFieldProposals era → Bool #

ToJSON (UpgradeConwayPParams Identity) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

Crypto c ⇒ ToJSON (ConwayDelegCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Crypto c ⇒ ToJSON (ConwayGovCert c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Era era ⇒ ToJSON (ConwayTxCert era) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

Crypto c ⇒ ToJSON (Delegatee c) 
Instance details

Defined in Cardano.Ledger.Conway.TxCert

(ToJSON (TxCert era), ToJSON (PlutusPurpose AsIndex era), ToJSON (PlutusPurpose AsItem era)) ⇒ ToJSON (ConwayContextError era) 
Instance details

Defined in Cardano.Ledger.Conway.TxInfo

ToJSON (Addr c) 
Instance details

Defined in Cardano.Ledger.Address

Methods

toJSONAddr c → Value #

toEncodingAddr c → Encoding #

toJSONList ∷ [Addr c] → Value #

toEncodingList ∷ [Addr c] → Encoding #

omitFieldAddr c → Bool #

Crypto c ⇒ ToJSON (RewardAcnt c) 
Instance details

Defined in Cardano.Ledger.Address

Crypto c ⇒ ToJSON (AuxiliaryDataHash c) 
Instance details

Defined in Cardano.Ledger.AuxiliaryData

Crypto c ⇒ ToJSON (Anchor c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSONAnchor c → Value #

toEncodingAnchor c → Encoding #

toJSONList ∷ [Anchor c] → Value #

toEncodingList ∷ [Anchor c] → Encoding #

omitFieldAnchor c → Bool #

Crypto c ⇒ ToJSON (BlocksMade c) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Era era ⇒ ToJSON (CertState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSONCertState era → Value #

toEncodingCertState era → Encoding #

toJSONList ∷ [CertState era] → Value #

toEncodingList ∷ [CertState era] → Encoding #

omitFieldCertState era → Bool #

Era era ⇒ ToJSON (CommitteeState era) 
Instance details

Defined in Cardano.Ledger.CertState

Era era ⇒ ToJSON (DState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSONDState era → Value #

toEncodingDState era → Encoding #

toJSONList ∷ [DState era] → Value #

toEncodingList ∷ [DState era] → Encoding #

omitFieldDState era → Bool #

Crypto c ⇒ ToJSON (FutureGenDeleg c) 
Instance details

Defined in Cardano.Ledger.CertState

Crypto c ⇒ ToJSON (InstantaneousRewards c) 
Instance details

Defined in Cardano.Ledger.CertState

Era era ⇒ ToJSON (PState era) 
Instance details

Defined in Cardano.Ledger.CertState

Methods

toJSONPState era → Value #

toEncodingPState era → Encoding #

toJSONList ∷ [PState era] → Value #

toEncodingList ∷ [PState era] → Encoding #

omitFieldPState era → Bool #

ToJSON (CompactForm Coin) 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON (CompactForm DeltaCoin) 
Instance details

Defined in Cardano.Ledger.Coin

ToJSON (PParamsHKD Identity era) ⇒ ToJSON (PParams era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Methods

toJSONPParams era → Value #

toEncodingPParams era → Encoding #

toJSONList ∷ [PParams era] → Value #

toEncodingList ∷ [PParams era] → Encoding #

omitFieldPParams era → Bool #

ToJSON (PParamsHKD StrictMaybe era) ⇒ ToJSON (PParamsUpdate era) 
Instance details

Defined in Cardano.Ledger.Core.PParams

Crypto c ⇒ ToJSON (PoolCert c) 
Instance details

Defined in Cardano.Ledger.Core.TxCert

Crypto c ⇒ ToJSON (StakeReference c) 
Instance details

Defined in Cardano.Ledger.Credential

Crypto c ⇒ ToJSON (DRep c) 
Instance details

Defined in Cardano.Ledger.DRep

Methods

toJSONDRep c → Value #

toEncodingDRep c → Encoding #

toJSONList ∷ [DRep c] → Value #

toEncodingList ∷ [DRep c] → Encoding #

omitFieldDRep c → Bool #

Crypto c ⇒ ToJSON (DRepState c) 
Instance details

Defined in Cardano.Ledger.DRep

Crypto c ⇒ ToJSON (SnapShot c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Crypto c ⇒ ToJSON (SnapShots c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Crypto c ⇒ ToJSON (Stake c) 
Instance details

Defined in Cardano.Ledger.EpochBoundary

Methods

toJSONStake c → Value #

toEncodingStake c → Encoding #

toJSONList ∷ [Stake c] → Value #

toEncodingList ∷ [Stake c] → Encoding #

omitFieldStake c → Bool #

Crypto c ⇒ ToJSON (ScriptHash c) 
Instance details

Defined in Cardano.Ledger.Hashes

Crypto c ⇒ ToJSON (GenDelegPair c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Crypto c ⇒ ToJSON (GenDelegs c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Era era ⇒ ToJSON (Datum era) 
Instance details

Defined in Cardano.Ledger.Plutus.Data

Methods

toJSONDatum era → Value #

toEncodingDatum era → Encoding #

toJSONList ∷ [Datum era] → Value #

toEncodingList ∷ [Datum era] → Encoding #

omitFieldDatum era → Bool #

ToJSON a ⇒ ToJSON (ExUnits' a) 
Instance details

Defined in Cardano.Ledger.Plutus.ExUnits

ToJSON (TxOutSource c) 
Instance details

Defined in Cardano.Ledger.Plutus.TxInfo

Crypto c ⇒ ToJSON (IndividualPoolStake c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Crypto c ⇒ ToJSON (PoolDistr c) 
Instance details

Defined in Cardano.Ledger.PoolDistr

Crypto c ⇒ ToJSON (PoolParams c) 
Instance details

Defined in Cardano.Ledger.PoolParams

Crypto c ⇒ ToJSON (Reward c) 
Instance details

Defined in Cardano.Ledger.Rewards

Methods

toJSONReward c → Value #

toEncodingReward c → Encoding #

toJSONList ∷ [Reward c] → Value #

toEncodingList ∷ [Reward c] → Encoding #

omitFieldReward c → Bool #

Crypto c ⇒ ToJSON (TxId c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSONTxId c → Value #

toEncodingTxId c → Encoding #

toJSONList ∷ [TxId c] → Value #

toEncodingList ∷ [TxId c] → Encoding #

omitFieldTxId c → Bool #

Crypto c ⇒ ToJSON (TxIn c) 
Instance details

Defined in Cardano.Ledger.TxIn

Methods

toJSONTxIn c → Value #

toEncodingTxIn c → Encoding #

toJSONList ∷ [TxIn c] → Value #

toEncodingList ∷ [TxIn c] → Encoding #

omitFieldTxIn c → Bool #

Crypto c ⇒ ToJSON (UMElem c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSONUMElem c → Value #

toEncodingUMElem c → Encoding #

toJSONList ∷ [UMElem c] → Value #

toEncodingList ∷ [UMElem c] → Encoding #

omitFieldUMElem c → Bool #

Crypto c ⇒ ToJSON (UMap c) 
Instance details

Defined in Cardano.Ledger.UMap

Methods

toJSONUMap c → Value #

toEncodingUMap c → Encoding #

toJSONList ∷ [UMap c] → Value #

toEncodingList ∷ [UMap c] → Encoding #

omitFieldUMap c → Bool #

(Era era, ToJSON (TxOut era)) ⇒ ToJSON (UTxO era) 
Instance details

Defined in Cardano.Ledger.UTxO

Methods

toJSONUTxO era → Value #

toEncodingUTxO era → Encoding #

toJSONList ∷ [UTxO era] → Value #

toEncodingList ∷ [UTxO era] → Encoding #

omitFieldUTxO era → Bool #

Crypto c ⇒ ToJSON (MaryValue c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Crypto c ⇒ ToJSON (MultiAsset c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Crypto c ⇒ ToJSON (PolicyID c) 
Instance details

Defined in Cardano.Ledger.Mary.Value

Crypto c ⇒ ToJSON (ShelleyGenesis c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Crypto c ⇒ ToJSON (ShelleyGenesisStaking c) 
Instance details

Defined in Cardano.Ledger.Shelley.Genesis

Era era ⇒ ToJSON (Constitution era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

EraPParams era ⇒ ToJSON (ShelleyGovState era) 
Instance details

Defined in Cardano.Ledger.Shelley.Governance

(EraTxOut era, EraGov era) ⇒ ToJSON (EpochState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Crypto c ⇒ ToJSON (IncrementalStake c) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

(EraTxOut era, EraGov era) ⇒ ToJSON (LedgerState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

(EraTxOut era, EraGov era) ⇒ ToJSON (UTxOState era) 
Instance details

Defined in Cardano.Ledger.Shelley.LedgerState.Types

Methods

toJSONUTxOState era → Value #

toEncodingUTxOState era → Encoding #

toJSONList ∷ [UTxOState era] → Value #

toEncodingList ∷ [UTxOState era] → Encoding #

omitFieldUTxOState era → Bool #

EraPParams era ⇒ ToJSON (ProposedPPUpdates era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

Crypto crypto ⇒ ToJSON (NonMyopic crypto) 
Instance details

Defined in Cardano.Ledger.Shelley.PoolRank

Methods

toJSONNonMyopic crypto → Value #

toEncodingNonMyopic crypto → Encoding #

toJSONList ∷ [NonMyopic crypto] → Value #

toEncodingList ∷ [NonMyopic crypto] → Encoding #

omitFieldNonMyopic crypto → Bool #

Crypto c ⇒ ToJSON (RewardProvenance c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c ⇒ ToJSON (RewardProvenancePool c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

Crypto c ⇒ ToJSON (PulsingRewUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Crypto c ⇒ ToJSON (RewardUpdate c) 
Instance details

Defined in Cardano.Ledger.Shelley.RewardUpdate

Crypto c ⇒ ToJSON (TransitionConfig (ShelleyEra c)) 
Instance details

Defined in Cardano.Ledger.Shelley.Transition

Crypto c ⇒ ToJSON (GenesisDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Crypto c ⇒ ToJSON (MIRCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Crypto c ⇒ ToJSON (MIRTarget c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Crypto c ⇒ ToJSON (ShelleyDelegCert c) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

Era era ⇒ ToJSON (ShelleyTxCert era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxCert

(Era era, Val (Value era)) ⇒ ToJSON (ShelleyTxOut era) 
Instance details

Defined in Cardano.Ledger.Shelley.TxOut

ToJSON a ⇒ ToJSON (WithOrigin a) 
Instance details

Defined in Cardano.Slotting.Slot

ToJSON a ⇒ ToJSON (StrictMaybe a) 
Instance details

Defined in Data.Maybe.Strict

ToJSON a ⇒ ToJSON (StrictSeq a) 
Instance details

Defined in Data.Sequence.Strict

ToJSON a ⇒ ToJSON (IntMap a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONIntMap a → Value #

toEncodingIntMap a → Encoding #

toJSONList ∷ [IntMap a] → Value #

toEncodingList ∷ [IntMap a] → Encoding #

omitFieldIntMap a → Bool #

ToJSON a ⇒ ToJSON (Seq a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSeq a → Value #

toEncodingSeq a → Encoding #

toJSONList ∷ [Seq a] → Value #

toEncodingList ∷ [Seq a] → Encoding #

omitFieldSeq a → Bool #

ToJSON a ⇒ ToJSON (Set a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSet a → Value #

toEncodingSet a → Encoding #

toJSONList ∷ [Set a] → Value #

toEncodingList ∷ [Set a] → Encoding #

omitFieldSet a → Bool #

ToJSON v ⇒ ToJSON (Tree v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTree v → Value #

toEncodingTree v → Encoding #

toJSONList ∷ [Tree v] → Value #

toEncodingList ∷ [Tree v] → Encoding #

omitFieldTree v → Bool #

ToJSON1 f ⇒ ToJSON (Fix f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFix f → Value #

toEncodingFix f → Encoding #

toJSONList ∷ [Fix f] → Value #

toEncodingList ∷ [Fix f] → Encoding #

omitFieldFix f → Bool #

(ToJSON1 f, Functor f) ⇒ ToJSON (Mu f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMu f → Value #

toEncodingMu f → Encoding #

toJSONList ∷ [Mu f] → Value #

toEncodingList ∷ [Mu f] → Encoding #

omitFieldMu f → Bool #

(ToJSON1 f, Functor f) ⇒ ToJSON (Nu f)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONNu f → Value #

toEncodingNu f → Encoding #

toJSONList ∷ [Nu f] → Value #

toEncodingList ∷ [Nu f] → Encoding #

omitFieldNu f → Bool #

ToJSON a ⇒ ToJSON (DNonEmpty a)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (DList a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONDList a → Value #

toEncodingDList a → Encoding #

toJSONList ∷ [DList a] → Value #

toEncodingList ∷ [DList a] → Encoding #

omitFieldDList a → Bool #

ToJSON a ⇒ ToJSON (InsOrdHashSet a) 
Instance details

Defined in Data.HashSet.InsOrd

ToJSON a ⇒ ToJSON (LOContent a) 
Instance details

Defined in Cardano.BM.Data.LogItem

ToJSON a ⇒ ToJSON (LogObject a) 
Instance details

Defined in Cardano.BM.Data.LogItem

ToJSON a ⇒ ToJSON (Resources a) 
Instance details

Defined in Cardano.BM.Stats.Resources

ToJSON a ⇒ ToJSON (Item a) 
Instance details

Defined in Katip.Core

Methods

toJSONItem a → Value #

toEncodingItem a → Encoding #

toJSONList ∷ [Item a] → Value #

toEncodingList ∷ [Item a] → Encoding #

omitFieldItem a → Bool #

ToJSON (Bech32StringOf a) 
Instance details

Defined in Maestro.Types.Common

ToJSON (HashStringOf a) 
Instance details

Defined in Maestro.Types.Common

ToJSON (HexStringOf a) 
Instance details

Defined in Maestro.Types.Common

ToJSON (TaggedText description) 
Instance details

Defined in Maestro.Types.V1.Common

Methods

toJSONTaggedText description → Value #

toEncodingTaggedText description → Encoding #

toJSONList ∷ [TaggedText description] → Value #

toEncodingList ∷ [TaggedText description] → Encoding #

omitFieldTaggedText description → Bool #

ToJSON i ⇒ ToJSON (MemoryStepsWith i) 
Instance details

Defined in Maestro.Types.V1.General

(Eq p, ToJSON p, AesonDefaultValue p) ⇒ ToJSON (OAuth2Flow p) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Callback) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Example) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Header) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Link) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Param) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced RequestBody) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Response) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (Referenced Schema) 
Instance details

Defined in Data.OpenApi.Internal

ToJSON (BuiltinCostModelBase MCostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON (BuiltinCostModelBase CostingFun) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON a ⇒ ToJSON (MCostingFun a) 
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON (CekMachineCostsBase Identity) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON (CekMachineCostsBase Maybe) 
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts

ToJSON a ⇒ ToJSON (Array a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONArray a → Value #

toEncodingArray a → Encoding #

toJSONList ∷ [Array a] → Value #

toEncodingList ∷ [Array a] → Encoding #

omitFieldArray a → Bool #

(Prim a, ToJSON a) ⇒ ToJSON (PrimArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (SmallArray a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON d ⇒ ToJSON (LinearTransform d) 
Instance details

Defined in Statistics.Distribution.Transform

ToJSON a ⇒ ToJSON (Maybe a)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

omitFieldMaybe a → Bool #

ToJSON (CollectionFormat t) 
Instance details

Defined in Data.Swagger.Internal

ToJSON (ParamSchema k) 
Instance details

Defined in Data.Swagger.Internal

ToJSON (Referenced Param) 
Instance details

Defined in Data.Swagger.Internal

ToJSON (Referenced Response) 
Instance details

Defined in Data.Swagger.Internal

ToJSON (Referenced Schema) 
Instance details

Defined in Data.Swagger.Internal

ToJSON (ParamSchema t) ⇒ ToJSON (SwaggerItems t)

As for nullary schema for 0-arity type constructors, see https://github.com/GetShopTV/swagger2/issues/167.

>>> encode (SwaggerItemsArray [])
"{\"example\":[],\"items\":{},\"maxItems\":0}"
Instance details

Defined in Data.Swagger.Internal

ToJSON (SwaggerType t) 
Instance details

Defined in Data.Swagger.Internal

ToJSON a ⇒ ToJSON (HashSet a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSON a ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVector a → Value #

toEncodingVector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

omitFieldVector a → Bool #

(Prim a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVector a → Value #

toEncodingVector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

omitFieldVector a → Bool #

(Storable a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVector a → Value #

toEncodingVector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

omitFieldVector a → Bool #

(Vector Vector a, ToJSON a) ⇒ ToJSON (Vector a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONVector a → Value #

toEncodingVector a → Encoding #

toJSONList ∷ [Vector a] → Value #

toEncodingList ∷ [Vector a] → Encoding #

omitFieldVector a → Bool #

ToJSON (Maybe PoolMetadata) 
Instance details

Defined in Blockfrost.Types.Cardano.Pools

ToJSON a ⇒ ToJSON (Maybe a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMaybe a → Value #

toEncodingMaybe a → Encoding #

toJSONList ∷ [Maybe a] → Value #

toEncodingList ∷ [Maybe a] → Encoding #

omitFieldMaybe a → Bool #

ToJSON a ⇒ ToJSON (a)

Since: aeson-2.0.2.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a) → Value #

toEncoding ∷ (a) → Encoding #

toJSONList ∷ [(a)] → Value #

toEncodingList ∷ [(a)] → Encoding #

omitField ∷ (a) → Bool #

ToJSON a ⇒ ToJSON [a] 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ [a] → Value #

toEncoding ∷ [a] → Encoding #

toJSONList ∷ [[a]] → Value #

toEncodingList ∷ [[a]] → Encoding #

omitField ∷ [a] → Bool #

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

omitFieldEither a b → Bool #

HasResolution a ⇒ ToJSON (Fixed a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONFixed a → Value #

toEncodingFixed a → Encoding #

toJSONList ∷ [Fixed a] → Value #

toEncodingList ∷ [Fixed a] → Encoding #

omitFieldFixed a → Bool #

ToJSON (Proxy a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProxy a → Value #

toEncodingProxy a → Encoding #

toJSONList ∷ [Proxy a] → Value #

toEncodingList ∷ [Proxy a] → Encoding #

omitFieldProxy a → Bool #

ToJSON (File content direction) 
Instance details

Defined in Cardano.Api.IO.Base

Methods

toJSONFile content direction → Value #

toEncodingFile content direction → Encoding #

toJSONList ∷ [File content direction] → Value #

toEncodingList ∷ [File content direction] → Encoding #

omitFieldFile content direction → Bool #

ToJSON (ScriptLanguageInEra lang era) 
Instance details

Defined in Cardano.Api.Script

IsCardanoEra era ⇒ ToJSON (TxOut ctx era) 
Instance details

Defined in Cardano.Api.Tx.Body

Methods

toJSONTxOut ctx era → Value #

toEncodingTxOut ctx era → Encoding #

toJSONList ∷ [TxOut ctx era] → Value #

toEncodingList ∷ [TxOut ctx era] → Encoding #

omitFieldTxOut ctx era → Bool #

HashAlgorithm h ⇒ ToJSON (Hash h a) 
Instance details

Defined in Cardano.Crypto.Hash.Class

Methods

toJSONHash h a → Value #

toEncodingHash h a → Encoding #

toJSONList ∷ [Hash h a] → Value #

toEncodingList ∷ [Hash h a] → Encoding #

omitFieldHash h a → Bool #

ToJSON (AbstractHash algo a) 
Instance details

Defined in Cardano.Crypto.Hashing

Methods

toJSONAbstractHash algo a → Value #

toEncodingAbstractHash algo a → Encoding #

toJSONList ∷ [AbstractHash algo a] → Value #

toEncodingList ∷ [AbstractHash algo a] → Encoding #

omitFieldAbstractHash algo a → Bool #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (ListMap k v) 
Instance details

Defined in Data.ListMap

Methods

toJSONListMap k v → Value #

toEncodingListMap k v → Encoding #

toJSONList ∷ [ListMap k v] → Value #

toEncodingList ∷ [ListMap k v] → Encoding #

omitFieldListMap k v → Bool #

(HasOKey k v, ToJSON v) ⇒ ToJSON (OMap k v) 
Instance details

Defined in Data.OMap.Strict

Methods

toJSONOMap k v → Value #

toEncodingOMap k v → Encoding #

toJSONList ∷ [OMap k v] → Value #

toEncodingList ∷ [OMap k v] → Encoding #

omitFieldOMap k v → Bool #

Crypto c ⇒ ToJSON (AlonzoPParams Identity (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

Crypto c ⇒ ToJSON (AlonzoPParams StrictMaybe (AlonzoEra c)) 
Instance details

Defined in Cardano.Ledger.Alonzo.PParams

(∀ a b. (ToJSON a, ToJSON b) ⇒ ToJSON (f a b), ToJSON (TxCert era), Era era) ⇒ ToJSON (AlonzoPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

ToJSON a ⇒ ToJSON (AsIndex a b) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSONAsIndex a b → Value #

toEncodingAsIndex a b → Encoding #

toJSONList ∷ [AsIndex a b] → Value #

toEncodingList ∷ [AsIndex a b] → Encoding #

omitFieldAsIndex a b → Bool #

ToJSON b ⇒ ToJSON (AsItem a b) 
Instance details

Defined in Cardano.Ledger.Alonzo.Scripts

Methods

toJSONAsItem a b → Value #

toEncodingAsItem a b → Encoding #

toJSONList ∷ [AsItem a b] → Value #

toEncodingList ∷ [AsItem a b] → Encoding #

omitFieldAsItem a b → Bool #

(PParamsHKD Identity era ~ BabbagePParams Identity era, BabbageEraPParams era, ProtVerAtMost era 8) ⇒ ToJSON (BabbagePParams Identity era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

(PParamsHKD StrictMaybe era ~ BabbagePParams StrictMaybe era, BabbageEraPParams era, ProtVerAtMost era 8) ⇒ ToJSON (BabbagePParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Babbage.PParams

ToJSON b ⇒ ToJSON (Annotated b a) 
Instance details

Defined in Cardano.Ledger.Binary.Decoding.Annotated

Methods

toJSONAnnotated b a → Value #

toEncodingAnnotated b a → Encoding #

toJSONList ∷ [Annotated b a] → Value #

toEncodingList ∷ [Annotated b a] → Encoding #

omitFieldAnnotated b a → Bool #

Era era ⇒ ToJSON (GovPurposeId p era) 
Instance details

Defined in Cardano.Ledger.Conway.Governance.Procedures

Methods

toJSONGovPurposeId p era → Value #

toEncodingGovPurposeId p era → Encoding #

toJSONList ∷ [GovPurposeId p era] → Value #

toEncodingList ∷ [GovPurposeId p era] → Encoding #

omitFieldGovPurposeId p era → Bool #

Crypto c ⇒ ToJSON (ConwayPParams Identity (ConwayEra c)) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(ConwayEraPParams era, PParamsHKD StrictMaybe era ~ ConwayPParams StrictMaybe era) ⇒ ToJSON (ConwayPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(∀ a b. (ToJSON a, ToJSON b) ⇒ ToJSON (f a b), ToJSON (TxCert era), EraPParams era) ⇒ ToJSON (ConwayPlutusPurpose f era) 
Instance details

Defined in Cardano.Ledger.Conway.Scripts

ToJSON (BoundedRatio b Word64) 
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

toJSON ∷ BoundedRatio b Word64Value #

toEncoding ∷ BoundedRatio b Word64Encoding #

toJSONList ∷ [BoundedRatio b Word64] → Value #

toEncodingList ∷ [BoundedRatio b Word64] → Encoding #

omitField ∷ BoundedRatio b Word64Bool #

Crypto c ⇒ ToJSON (Credential kr c) 
Instance details

Defined in Cardano.Ledger.Credential

Methods

toJSONCredential kr c → Value #

toEncodingCredential kr c → Encoding #

toJSONList ∷ [Credential kr c] → Value #

toEncodingList ∷ [Credential kr c] → Encoding #

omitFieldCredential kr c → Bool #

Crypto c ⇒ ToJSON (KeyHash disc c) 
Instance details

Defined in Cardano.Ledger.Keys.Internal

Methods

toJSONKeyHash disc c → Value #

toEncodingKeyHash disc c → Encoding #

toJSONList ∷ [KeyHash disc c] → Value #

toEncodingList ∷ [KeyHash disc c] → Encoding #

omitFieldKeyHash disc c → Bool #

Crypto c ⇒ ToJSON (SafeHash c index) 
Instance details

Defined in Cardano.Ledger.SafeHash

Methods

toJSONSafeHash c index → Value #

toEncodingSafeHash c index → Encoding #

toJSONList ∷ [SafeHash c index] → Value #

toEncodingList ∷ [SafeHash c index] → Encoding #

omitFieldSafeHash c index → Bool #

(EraPParams era, PParamsHKD Identity era ~ ShelleyPParams Identity era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) ⇒ ToJSON (ShelleyPParams Identity era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(EraPParams era, PParamsHKD StrictMaybe era ~ ShelleyPParams StrictMaybe era, ProtVerAtMost era 4, ProtVerAtMost era 6, ProtVerAtMost era 8) ⇒ ToJSON (ShelleyPParams StrictMaybe era) 
Instance details

Defined in Cardano.Ledger.Shelley.PParams

(ToJSON v, ToJSONKey k) ⇒ ToJSON (Map k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONMap k v → Value #

toEncodingMap k v → Encoding #

toJSONList ∷ [Map k v] → Value #

toEncodingList ∷ [Map k v] → Encoding #

omitFieldMap k v → Bool #

(ToJSONKey k, ToJSON v) ⇒ ToJSON (InsOrdHashMap k v) 
Instance details

Defined in Data.HashMap.Strict.InsOrd

(ToJSON a, ToJSONKey k) ⇒ ToJSON (MonoidalMap k a) 
Instance details

Defined in Data.Map.Monoidal

(ToJSON a, ToJSON b) ⇒ ToJSON (Either a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONEither a b → Value #

toEncodingEither a b → Encoding #

toJSONList ∷ [Either a b] → Value #

toEncodingList ∷ [Either a b] → Encoding #

omitFieldEither a b → Bool #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONThese a b → Value #

toEncodingThese a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

omitFieldThese a b → Bool #

(ToJSON a, ToJSON b) ⇒ ToJSON (Pair a b)

Since: aeson-1.5.3.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONPair a b → Value #

toEncodingPair a b → Encoding #

toJSONList ∷ [Pair a b] → Value #

toEncodingList ∷ [Pair a b] → Encoding #

omitFieldPair a b → Bool #

(ToJSON a, ToJSON b) ⇒ ToJSON (These a b)

Since: aeson-1.5.1.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONThese a b → Value #

toEncodingThese a b → Encoding #

toJSONList ∷ [These a b] → Value #

toEncodingList ∷ [These a b] → Encoding #

omitFieldThese a b → Bool #

(ToJSON v, ToJSONKey k) ⇒ ToJSON (HashMap k v) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONHashMap k v → Value #

toEncodingHashMap k v → Encoding #

toJSONList ∷ [HashMap k v] → Value #

toEncodingList ∷ [HashMap k v] → Encoding #

omitFieldHashMap k v → Bool #

ToJSON (Address, NutlinkTicker) 
Instance details

Defined in Blockfrost.Types.NutLink

ToJSON (Text, Metric) 
Instance details

Defined in Blockfrost.Types.Common

(ToJSON a, ToJSON b) ⇒ ToJSON (a, b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b) → Value #

toEncoding ∷ (a, b) → Encoding #

toJSONList ∷ [(a, b)] → Value #

toEncodingList ∷ [(a, b)] → Encoding #

omitField ∷ (a, b) → Bool #

ToJSON a ⇒ ToJSON (Const a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONConst a b → Value #

toEncodingConst a b → Encoding #

toJSONList ∷ [Const a b] → Value #

toEncodingList ∷ [Const a b] → Encoding #

omitFieldConst a b → Bool #

(Typeable t, ToJSON a) ⇒ ToJSON (THKD t Identity a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(Typeable t, ToJSON a) ⇒ ToJSON (THKD t StrictMaybe a) 
Instance details

Defined in Cardano.Ledger.Conway.PParams

(AesonOptions t, Generic a, GToJSON Zero (Rep a), GToEncoding Zero (Rep a)) ⇒ ToJSON (CustomJSON t a) 
Instance details

Defined in Deriving.Aeson

ToJSON b ⇒ ToJSON (Tagged a b) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONTagged a b → Value #

toEncodingTagged a b → Encoding #

toJSONList ∷ [Tagged a b] → Value #

toEncodingList ∷ [Tagged a b] → Encoding #

omitFieldTagged a b → Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (These1 f g a)

Since: aeson-1.5.1.0

Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONThese1 f g a → Value #

toEncodingThese1 f g a → Encoding #

toJSONList ∷ [These1 f g a] → Value #

toEncodingList ∷ [These1 f g a] → Encoding #

omitFieldThese1 f g a → Bool #

(ToJSON a, ToJSON b, ToJSON c) ⇒ ToJSON (a, b, c) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c) → Value #

toEncoding ∷ (a, b, c) → Encoding #

toJSONList ∷ [(a, b, c)] → Value #

toEncodingList ∷ [(a, b, c)] → Encoding #

omitField ∷ (a, b, c) → Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Product f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONProduct f g a → Value #

toEncodingProduct f g a → Encoding #

toJSONList ∷ [Product f g a] → Value #

toEncodingList ∷ [Product f g a] → Encoding #

omitFieldProduct f g a → Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Sum f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONSum f g a → Value #

toEncodingSum f g a → Encoding #

toJSONList ∷ [Sum f g a] → Value #

toEncodingList ∷ [Sum f g a] → Encoding #

omitFieldSum f g a → Bool #

(Vector vk k, Vector vv v, ToJSONKey k, ToJSON v) ⇒ ToJSON (VMap vk vv k v) 
Instance details

Defined in Data.VMap

Methods

toJSONVMap vk vv k v → Value #

toEncodingVMap vk vv k v → Encoding #

toJSONList ∷ [VMap vk vv k v] → Value #

toEncodingList ∷ [VMap vk vv k v] → Encoding #

omitFieldVMap vk vv k v → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d) ⇒ ToJSON (a, b, c, d) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d) → Value #

toEncoding ∷ (a, b, c, d) → Encoding #

toJSONList ∷ [(a, b, c, d)] → Value #

toEncodingList ∷ [(a, b, c, d)] → Encoding #

omitField ∷ (a, b, c, d) → Bool #

(ToJSON1 f, ToJSON1 g, ToJSON a) ⇒ ToJSON (Compose f g a) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSONCompose f g a → Value #

toEncodingCompose f g a → Encoding #

toJSONList ∷ [Compose f g a] → Value #

toEncodingList ∷ [Compose f g a] → Encoding #

omitFieldCompose f g a → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) ⇒ ToJSON (a, b, c, d, e) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e) → Value #

toEncoding ∷ (a, b, c, d, e) → Encoding #

toJSONList ∷ [(a, b, c, d, e)] → Value #

toEncodingList ∷ [(a, b, c, d, e)] → Encoding #

omitField ∷ (a, b, c, d, e) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) ⇒ ToJSON (a, b, c, d, e, f) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f) → Value #

toEncoding ∷ (a, b, c, d, e, f) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f)] → Encoding #

omitField ∷ (a, b, c, d, e, f) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) ⇒ ToJSON (a, b, c, d, e, f, g) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g) → Value #

toEncoding ∷ (a, b, c, d, e, f, g) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) ⇒ ToJSON (a, b, c, d, e, f, g, h) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) ⇒ ToJSON (a, b, c, d, e, f, g, h, i) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j, k) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j, k, l) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n) → Bool #

(ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) ⇒ ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) 
Instance details

Defined in Data.Aeson.Types.ToJSON

Methods

toJSON ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Value #

toEncoding ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Encoding #

toJSONList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Value #

toEncodingList ∷ [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] → Encoding #

omitField ∷ (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) → Bool #

type HasCallStack = ?callStack ∷ CallStack #

Request a CallStack.

NOTE: The implicit parameter ?callStack :: CallStack is an implementation detail and should not be considered part of the CallStack API, we may decide to change the implementation in the future.

Since: base-4.9.0.0

data (a ∷ k) :~: (b ∷ k) where infix 4 #

Propositional equality. If a :~: b is inhabited by some terminating value, then the type a is the same as the type b. To use this equality in practice, pattern-match on the a :~: b to get out the Refl constructor; in the body of the pattern-match, the compiler knows that a ~ b.

Since: base-4.7.0.0

Constructors

Refl ∷ ∀ {k} (a ∷ k). a :~: a 

Instances

Instances details
Category ((:~:) ∷ k → k → Type)

Since: base-4.7.0.0

Instance details

Defined in Control.Category

Methods

id ∷ ∀ (a ∷ k0). a :~: a #

(.) ∷ ∀ (b ∷ k0) (c ∷ k0) (a ∷ k0). (b :~: c) → (a :~: b) → a :~: c #

TestEquality ((:~:) a ∷ k → Type)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

testEquality ∷ ∀ (a0 ∷ k0) (b ∷ k0). (a :~: a0) → (a :~: b) → Maybe (a0 :~: b) #

GCompare ((:~:) a ∷ k → Type) 
Instance details

Defined in Data.GADT.Internal

Methods

gcompare ∷ ∀ (a0 ∷ k0) (b ∷ k0). (a :~: a0) → (a :~: b) → GOrdering a0 b #

GEq ((:~:) a ∷ k → Type) 
Instance details

Defined in Data.GADT.Internal

Methods

geq ∷ ∀ (a0 ∷ k0) (b ∷ k0). (a :~: a0) → (a :~: b) → Maybe (a0 :~: b) #

GRead ((:~:) a ∷ k → Type) 
Instance details

Defined in Data.GADT.Internal

Methods

greadsPrecIntGReadS ((:~:) a) #

GShow ((:~:) a ∷ k → Type) 
Instance details

Defined in Data.GADT.Internal

Methods

gshowsPrec ∷ ∀ (a0 ∷ k0). Int → (a :~: a0) → ShowS #

NFData2 ((:~:)TypeTypeType)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf2 ∷ (a → ()) → (b → ()) → (a :~: b) → () #

NFData1 ((:~:) a)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

liftRnf ∷ (a0 → ()) → (a :~: a0) → () #

(a ~ b, Data a) ⇒ Data (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Data

Methods

gfoldl ∷ (∀ d b0. Data d ⇒ c (d → b0) → d → c b0) → (∀ g. g → c g) → (a :~: b) → c (a :~: b) #

gunfold ∷ (∀ b0 r. Data b0 ⇒ c (b0 → r) → c r) → (∀ r. r → c r) → Constr → c (a :~: b) #

toConstr ∷ (a :~: b) → Constr #

dataTypeOf ∷ (a :~: b) → DataType #

dataCast1Typeable t ⇒ (∀ d. Data d ⇒ c (t d)) → Maybe (c (a :~: b)) #

dataCast2Typeable t ⇒ (∀ d e. (Data d, Data e) ⇒ c (t d e)) → Maybe (c (a :~: b)) #

gmapT ∷ (∀ b0. Data b0 ⇒ b0 → b0) → (a :~: b) → a :~: b #

gmapQl ∷ (r → r' → r) → r → (∀ d. Data d ⇒ d → r') → (a :~: b) → r #

gmapQr ∷ ∀ r r'. (r' → r → r) → r → (∀ d. Data d ⇒ d → r') → (a :~: b) → r #

gmapQ ∷ (∀ d. Data d ⇒ d → u) → (a :~: b) → [u] #

gmapQiInt → (∀ d. Data d ⇒ d → u) → (a :~: b) → u #

gmapMMonad m ⇒ (∀ d. Data d ⇒ d → m d) → (a :~: b) → m (a :~: b) #

gmapMpMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → (a :~: b) → m (a :~: b) #

gmapMoMonadPlus m ⇒ (∀ d. Data d ⇒ d → m d) → (a :~: b) → m (a :~: b) #

a ~ b ⇒ Bounded (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

minBound ∷ a :~: b #

maxBound ∷ a :~: b #

a ~ b ⇒ Enum (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

succ ∷ (a :~: b) → a :~: b #

pred ∷ (a :~: b) → a :~: b #

toEnumInt → a :~: b #

fromEnum ∷ (a :~: b) → Int #

enumFrom ∷ (a :~: b) → [a :~: b] #

enumFromThen ∷ (a :~: b) → (a :~: b) → [a :~: b] #

enumFromTo ∷ (a :~: b) → (a :~: b) → [a :~: b] #

enumFromThenTo ∷ (a :~: b) → (a :~: b) → (a :~: b) → [a :~: b] #

a ~ b ⇒ Read (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

readsPrecIntReadS (a :~: b) #

readListReadS [a :~: b] #

readPrecReadPrec (a :~: b) #

readListPrecReadPrec [a :~: b] #

Show (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

showsPrecInt → (a :~: b) → ShowS #

show ∷ (a :~: b) → String #

showList ∷ [a :~: b] → ShowS #

NFData (a :~: b)

Since: deepseq-1.4.3.0

Instance details

Defined in Control.DeepSeq

Methods

rnf ∷ (a :~: b) → () #

Eq (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

(==) ∷ (a :~: b) → (a :~: b) → Bool #

(/=) ∷ (a :~: b) → (a :~: b) → Bool #

Ord (a :~: b)

Since: base-4.7.0.0

Instance details

Defined in Data.Type.Equality

Methods

compare ∷ (a :~: b) → (a :~: b) → Ordering #

(<) ∷ (a :~: b) → (a :~: b) → Bool #

(<=) ∷ (a :~: b) → (a :~: b) → Bool #

(>) ∷ (a :~: b) → (a :~: b) → Bool #

(>=) ∷ (a :~: b) → (a :~: b) → Bool #

max ∷ (a :~: b) → (a :~: b) → a :~: b #

min ∷ (a :~: b) → (a :~: b) → a :~: b #

class PrintfArg a where #

Typeclass of printf-formattable values. The formatArg method takes a value and a field format descriptor and either fails due to a bad descriptor or produces a ShowS as the result. The default parseFormat expects no modifiers: this is the normal case. Minimal instance: formatArg.

Minimal complete definition

formatArg

Methods

formatArg ∷ a → FieldFormatter #

Since: base-4.7.0.0

parseFormat ∷ a → ModifierParser #

Since: base-4.7.0.0

Instances

Instances details
PrintfArg GYBalancingError # 
Instance details

Defined in GeniusYield.Transaction.Common

PrintfArg GYAddress #

This instance is using for logging

>>> Printf.printf "addr = %s" addr
addr = addr_test1qrsuhwqdhz0zjgnf46unas27h93amfghddnff8lpc2n28rgmjv8f77ka0zshfgssqr5cnl64zdnde5f8q2xt923e7ctqu49mg5
Instance details

Defined in GeniusYield.Types.Address

PrintfArg GYAddressBech32 # 
Instance details

Defined in GeniusYield.Types.Address

PrintfArg GYStakeAddress #

This instance is using for logging

>>> Printf.printf "stake addr = %s" stakeAddr
stake addr = stake_test1upa805fqh85x4hw88zxmhvdaydgyjzmazs9tydqrscerxnghfq4t3
Instance details

Defined in GeniusYield.Types.Address

PrintfArg GYStakeAddressBech32 # 
Instance details

Defined in GeniusYield.Types.Address

PrintfArg GYPaymentCredential # 
Instance details

Defined in GeniusYield.Types.Credential

PrintfArg GYStakeCredential # 
Instance details

Defined in GeniusYield.Types.Credential

PrintfArg GYPaymentSigningKey #
>>> Printf.printf "%s\n" ("5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290" :: GYPaymentSigningKey)
5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290
Instance details

Defined in GeniusYield.Types.Key

PrintfArg GYPaymentVerificationKey #
>>> Printf.printf "%s\n" ("0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605" :: GYPaymentVerificationKey)
0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605
Instance details

Defined in GeniusYield.Types.Key

PrintfArg GYStakeSigningKey #
>>> Printf.printf "%s\n" ("5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290" :: GYStakeSigningKey)
5ac75cb3435ef38c5bf15d11469b301b13729deb9595133a608fc0881fcec290
Instance details

Defined in GeniusYield.Types.Key

PrintfArg GYStakeVerificationKey #
>>> Printf.printf "%s\n" ("0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605" :: GYStakeVerificationKey)
0717bc56ed4897c3dde0690e3d9ce61e28a55f520fde454f6b5b61305b193605
Instance details

Defined in GeniusYield.Types.Key

PrintfArg GYLogNamespace #
>>> printf "%s" ("My" <> "Namespace" :: GYLogNamespace)
My.Namespace
Instance details

Defined in GeniusYield.Types.Logging

PrintfArg GYNatural # 
Instance details

Defined in GeniusYield.Types.Natural

PrintfArg GYPaymentKeyHash #
>>> Printf.printf "%s\n" $ paymentKeyHashFromApi "e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d"
e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d
Instance details

Defined in GeniusYield.Types.PaymentKeyHash

PrintfArg GYPubKeyHash #
>>> Printf.printf "%s\n" $ pubKeyHashFromApi "e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d"
e1cbb80db89e292269aeb93ec15eb963dda5176b66949fe1c2a6a38d
Instance details

Defined in GeniusYield.Types.PubKeyHash

PrintfArg GYRational #
>>> printf "%6.4f\n" $ fromRational @GYRational 0.123
0.1230
Instance details

Defined in GeniusYield.Types.Rational

PrintfArg GYStakeValidatorHash #
>>> printf "%s" ("cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYStakeValidatorHash)
cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0
Instance details

Defined in GeniusYield.Types.Script

PrintfArg GYValidatorHash #
>>> printf "%s" ("cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYValidatorHash)
cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0
Instance details

Defined in GeniusYield.Types.Script

PrintfArg GYScriptHash #
>>> printf "%s" ("cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0" :: GYScriptHash)
cabdd19b58d4299fde05b53c2c0baf978bf9ade734b490fc0cc8b7d0
Instance details

Defined in GeniusYield.Types.Script.ScriptHash

PrintfArg GYSlot # 
Instance details

Defined in GeniusYield.Types.Slot

PrintfArg GYStakeKeyHash #
>>> Printf.printf "%s\n" $ stakeKeyHashFromApi "7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d"
7a77d120b9e86addc7388dbbb1bd2350490b7d140ab234038632334d
Instance details

Defined in GeniusYield.Types.StakeKeyHash

PrintfArg GYStakePoolId #
>>> Printf.printf "%s\n" $ stakePoolIdFromApi "c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fd27"
c485ab20bd3f105e59f3c50a0d3fbaf615a51f70a1c6d29d00a1fd27
Instance details

Defined in GeniusYield.Types.StakePoolId

PrintfArg GYTime #
>>> printf "%s\n" $ timeFromPlutus 1000
1970-01-01T00:00:01Z
Instance details

Defined in GeniusYield.Types.Time

PrintfArg GYTx # 
Instance details

Defined in GeniusYield.Types.Tx

PrintfArg GYTxId #
>>> Printf.printf "tid = %s" gyTxId
tid = 6c751d3e198c5608dfafdfdffe16aeac8a28f88f3a769cf22dd45e8bc84f47e8
Instance details

Defined in GeniusYield.Types.Tx

PrintfArg GYTxWitness # 
Instance details

Defined in GeniusYield.Types.Tx

PrintfArg GYTxOutRef # 
Instance details

Defined in GeniusYield.Types.TxOutRef

PrintfArg GYTxOutRefCbor # 
Instance details

Defined in GeniusYield.Types.TxOutRef

PrintfArg GYUTxOs # 
Instance details

Defined in GeniusYield.Types.UTxO

PrintfArg GYAssetClass #
>>> Printf.printf "ac = %s" GYLovelace
ac = lovelace
Instance details

Defined in GeniusYield.Types.Value

PrintfArg GYValue #
>>> Printf.printf "value = %s" (valueFromList [])
value =
>>> Printf.printf "value = %s" (valueFromList [(GYLovelace, 1000)])
value = 1000 lovelace
Instance details

Defined in GeniusYield.Types.Value

PrintfArg Int16

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Int32

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Int64

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Int8

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Word16

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Word32

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Word64

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Word8

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg ShortText

Since: text-short-0.1.2

Instance details

Defined in Data.Text.Short.Internal

PrintfArg Integer

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Natural

Since: base-4.8.0.0

Instance details

Defined in Text.Printf

PrintfArg Char

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Double

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Float

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Int

Since: base-2.1

Instance details

Defined in Text.Printf

PrintfArg Word

Since: base-2.1

Instance details

Defined in Text.Printf

IsChar c ⇒ PrintfArg [c]

Since: base-2.1

Instance details

Defined in Text.Printf

Methods

formatArg ∷ [c] → FieldFormatter #

parseFormat ∷ [c] → ModifierParser #

data Some (tag ∷ k → Type) where #

Existential. This is type is useful to hide GADTs' parameters.

>>> data Tag :: Type -> Type where TagInt :: Tag Int; TagBool :: Tag Bool
>>> instance GShow Tag where gshowsPrec _ TagInt = showString "TagInt"; gshowsPrec _ TagBool = showString "TagBool"
>>> classify s = case s of "TagInt" -> [mkGReadResult TagInt]; "TagBool" -> [mkGReadResult TagBool]; _ -> []
>>> instance GRead Tag where greadsPrec _ s = [ (r, rest) | (con, rest) <-  lex s, r <- classify con ]

You can either use PatternSynonyms (available with GHC >= 8.0)

>>> let x = Some TagInt
>>> x
Some TagInt
>>> case x of { Some TagInt -> "I"; Some TagBool -> "B" } :: String
"I"

or you can use functions

>>> let y = mkSome TagBool
>>> y
Some TagBool
>>> withSome y $ \y' -> case y' of { TagInt -> "I"; TagBool -> "B" } :: String
"B"

The implementation of mapSome is safe.

>>> let f :: Tag a -> Tag a; f TagInt = TagInt; f TagBool = TagBool
>>> mapSome f y
Some TagBool

but you can also use:

>>> withSome y (mkSome . f)
Some TagBool
>>> read "Some TagBool" :: Some Tag
Some TagBool
>>> read "mkSome TagInt" :: Some Tag
Some TagInt

Bundled Patterns

pattern Some ∷ ∀ {k} tag (a ∷ k). () ⇒ tag a → Some tag 

Instances

Instances details
(Closed uni, Everywhere uni PrettyConst) ⇒ PrettyBy ConstConfig (Some (ValueOf uni)) 
Instance details

Defined in PlutusCore.Pretty.PrettyConst

Methods

prettyByConstConfigSome (ValueOf uni) → Doc ann #

prettyListByConstConfig → [Some (ValueOf uni)] → Doc ann #

Applicative m ⇒ Monoid (Some m) 
Instance details

Defined in Data.Some.Newtype

Methods

memptySome m #

mappendSome m → Some m → Some m #

mconcat ∷ [Some m] → Some m #

Applicative m ⇒ Semigroup (Some m) 
Instance details

Defined in Data.Some.Newtype

Methods

(<>)Some m → Some m → Some m #

sconcatNonEmpty (Some m) → Some m #

stimesIntegral b ⇒ b → Some m → Some m #

GRead f ⇒ Read (Some f) 
Instance details

Defined in Data.Some.Newtype

GShow tag ⇒ Show (Some tag) 
Instance details

Defined in Data.Some.Newtype

Methods

showsPrecIntSome tag → ShowS #

showSome tag → String #

showList ∷ [Some tag] → ShowS #

GNFData tag ⇒ NFData (Some tag) 
Instance details

Defined in Data.Some.Newtype

Methods

rnfSome tag → () #

GEq tag ⇒ Eq (Some tag) 
Instance details

Defined in Data.Some.Newtype

Methods

(==)Some tag → Some tag → Bool #

(/=)Some tag → Some tag → Bool #

GCompare tag ⇒ Ord (Some tag) 
Instance details

Defined in Data.Some.Newtype

Methods

compareSome tag → Some tag → Ordering #

(<)Some tag → Some tag → Bool #

(<=)Some tag → Some tag → Bool #

(>)Some tag → Some tag → Bool #

(>=)Some tag → Some tag → Bool #

maxSome tag → Some tag → Some tag #

minSome tag → Some tag → Some tag #

(Closed uni, GEq uni, Everywhere uni Eq, Everywhere uni Hashable) ⇒ Hashable (Some (ValueOf uni)) 
Instance details

Defined in Universe.Core

Methods

hashWithSaltIntSome (ValueOf uni) → Int #

hashSome (ValueOf uni) → Int #

bimapBifunctor p ⇒ (a → b) → (c → d) → p a c → p b d #

Map over both arguments at the same time.

bimap f g ≡ first f . second g

Examples

Expand
>>> bimap toUpper (+1) ('j', 3)
('J',4)
>>> bimap toUpper (+1) (Left 'j')
Left 'J'
>>> bimap toUpper (+1) (Right 3)
Right 4

firstBifunctor p ⇒ (a → b) → p a c → p b c #

Map covariantly over the first argument.

first f ≡ bimap f id

Examples

Expand
>>> first toUpper ('j', 3)
('J',3)
>>> first toUpper (Left 'j')
Left 'J'

secondBifunctor p ⇒ (b → c) → p a b → p a c #

Map covariantly over the second argument.

secondbimap id

Examples

Expand
>>> second (+1) ('j', 3)
('j',4)
>>> second (+1) (Right 3)
Right 4

voidFunctor f ⇒ f a → f () #

void value discards or ignores the result of evaluation, such as the return value of an IO action.

Examples

Expand

Replace the contents of a Maybe Int with unit:

>>> void Nothing
Nothing
>>> void (Just 3)
Just ()

Replace the contents of an Either Int Int with unit, resulting in an Either Int ():

>>> void (Left 8675309)
Left 8675309
>>> void (Right 8675309)
Right ()

Replace every element of a list with unit:

>>> void [1,2,3]
[(),(),()]

Replace the second element of a pair with unit:

>>> void (1,2)
(1,())

Discard the result of an IO action:

>>> mapM print [1,2]
1
2
[(),()]
>>> void $ mapM print [1,2]
1
2

joinMonad m ⇒ m (m a) → m a #

The join function is the conventional monad join operator. It is used to remove one level of monadic structure, projecting its bound argument into the outer level.

'join bss' can be understood as the do expression

do bs <- bss
   bs

Examples

Expand

A common use of join is to run an IO computation returned from an STM transaction, since STM transactions can't perform IO directly. Recall that

atomically :: STM a -> IO a

is used to run STM transactions atomically. So, by specializing the types of atomically and join to

atomically :: STM (IO b) -> IO (IO b)
join       :: IO (IO b)  -> IO b

we can compose them as

join . atomically :: STM (IO b) -> IO b

to run an STM transaction and the IO action it returns.

toListFoldable t ⇒ t a → [a] #

List of elements of a structure, from left to right. If the entire list is intended to be reduced via a fold, just fold the structure directly bypassing the list.

Examples

Expand

Basic usage:

>>> toList Nothing
[]
>>> toList (Just 42)
[42]
>>> toList (Left "foo")
[]
>>> toList (Node (Leaf 5) 17 (Node Empty 12 (Leaf 8)))
[5,17,12,8]

For lists, toList is the identity:

>>> toList [1, 2, 3]
[1,2,3]

Since: base-4.8.0.0

foldl'Foldable t ⇒ (b → a → b) → b → t a → b #

Left-associative fold of a structure but with strict application of the operator.

This ensures that each step of the fold is forced to Weak Head Normal Form before being applied, avoiding the collection of thunks that would otherwise occur. This is often what you want to strictly reduce a finite structure to a single strict result (e.g. sum).

For a general Foldable structure this should be semantically identical to,

foldl' f z = foldl' f z . toList

Since: base-4.6.0.0

liftA2Applicative f ⇒ (a → b → c) → f a → f b → f c #

Lift a binary function to actions.

Some functors support an implementation of liftA2 that is more efficient than the default one. In particular, if fmap is an expensive operation, it is likely better to use liftA2 than to fmap over the structure and then use <*>.

This became a typeclass method in 4.10.0.0. Prior to that, it was a function defined in terms of <*> and fmap.

Example

Expand
>>> liftA2 (,) (Just 3) (Just 5)
Just (3,5)

guardAlternative f ⇒ Bool → f () #

Conditional failure of Alternative computations. Defined by

guard True  = pure ()
guard False = empty

Examples

Expand

Common uses of guard include conditionally signaling an error in an error monad and conditionally rejecting the current choice in an Alternative-based parser.

As an example of signaling an error in the error monad Maybe, consider a safe division function safeDiv x y that returns Nothing when the denominator y is zero and Just (x `div` y) otherwise. For example:

>>> safeDiv 4 0
Nothing
>>> safeDiv 4 2
Just 2

A definition of safeDiv using guards, but not guard:

safeDiv :: Int -> Int -> Maybe Int
safeDiv x y | y /= 0    = Just (x `div` y)
            | otherwise = Nothing

A definition of safeDiv using guard and Monad do-notation:

safeDiv :: Int -> Int -> Maybe Int
safeDiv x y = do
  guard (y /= 0)
  return (x `div` y)

absurdVoid → a #

Since Void values logically don't exist, this witnesses the logical reasoning tool of "ex falso quodlibet".

>>> let x :: Either Void Int; x = Right 5
>>> :{
case x of
    Right r -> r
    Left l  -> absurd l
:}
5

Since: base-4.8.0.0

whenApplicative f ⇒ Bool → f () → f () #

Conditional execution of Applicative expressions. For example,

when debug (putStrLn "Debugging")

will output the string Debugging if the Boolean value debug is True, and otherwise do nothing.

apMonad m ⇒ m (a → b) → m a → m b #

In many situations, the liftM operations can be replaced by uses of ap, which promotes function application.

return f `ap` x1 `ap` ... `ap` xn

is equivalent to

liftMn f x1 x2 ... xn

isJustMaybe a → Bool #

The isJust function returns True iff its argument is of the form Just _.

Examples

Expand

Basic usage:

>>> isJust (Just 3)
True
>>> isJust (Just ())
True
>>> isJust Nothing
False

Only the outer constructor is taken into consideration:

>>> isJust (Just Nothing)
True

fromMaybe ∷ a → Maybe a → a #

The fromMaybe function takes a default value and a Maybe value. If the Maybe is Nothing, it returns the default value; otherwise, it returns the value contained in the Maybe.

Examples

Expand

Basic usage:

>>> fromMaybe "" (Just "Hello, World!")
"Hello, World!"
>>> fromMaybe "" Nothing
""

Read an integer from a string using readMaybe. If we fail to parse an integer, we want to return 0 by default:

>>> import Text.Read ( readMaybe )
>>> fromMaybe 0 (readMaybe "5")
5
>>> fromMaybe 0 (readMaybe "")
0

catMaybesFilterable f ⇒ f (Maybe a) → f a #

mapMaybeFilterable f ⇒ (a → Maybe b) → f a → f b #

Like mapMaybe.

on ∷ (b → b → c) → (a → b) → a → a → c infixl 0 #

on b u x y runs the binary function b on the results of applying unary function u to two arguments x and y. From the opposite perspective, it transforms two inputs and combines the outputs.

((+) `on` f) x y = f x + f y

Typical usage: sortBy (compare `on` fst).

Algebraic properties:

  • (*) `on` id = (*) -- (if (*) ∉ {⊥, const ⊥})
  • ((*) `on` f) `on` g = (*) `on` (f . g)
  • flip on f . flip on g = flip on (g . f)

isAlphaNumCharBool #

Selects alphabetic or numeric Unicode characters.

Note that numeric digits outside the ASCII range, as well as numeric characters which aren't digits, are selected by this function but not by isDigit. Such characters may be part of identifiers but are not used by the printer and reader to represent numbers.

findFoldable t ⇒ (a → Bool) → t a → Maybe a #

The find function takes a predicate and a structure and returns the leftmost element of the structure matching the predicate, or Nothing if there is no such element.

Examples

Expand

Basic usage:

>>> find (> 42) [0, 5..]
Just 45
>>> find (> 12) [1..7]
Nothing

sortBy ∷ (a → a → Ordering) → [a] → [a] #

The sortBy function is the non-overloaded version of sort. The argument must be finite.

>>> sortBy (\(a,_) (b,_) -> compare a b) [(2, "world"), (4, "!"), (1, "Hello")]
[(1,"Hello"),(2,"world"),(4,"!")]

The supplied comparison relation is supposed to be reflexive and antisymmetric, otherwise, e. g., for _ _ -> GT, the ordered list simply does not exist. The relation is also expected to be transitive: if it is not then sortBy might fail to find an ordered permutation, even if it exists.

catch #

Arguments

Exception e 
IO a

The computation to run

→ (e → IO a)

Handler to invoke if an exception is raised

IO a 

This is the simplest of the exception-catching functions. It takes a single argument, runs it, and if an exception is raised the "handler" is executed, with the value of the exception passed as an argument. Otherwise, the result is returned as normal. For example:

  catch (readFile f)
        (\e -> do let err = show (e :: IOException)
                  hPutStr stderr ("Warning: Couldn't open " ++ f ++ ": " ++ err)
                  return "")

Note that we have to give a type signature to e, or the program will not typecheck as the type is ambiguous. While it is possible to catch exceptions of any type, see the section "Catching all exceptions" (in Control.Exception) for an explanation of the problems with doing so.

For catching exceptions in pure (non-IO) expressions, see the function evaluate.

Note that due to Haskell's unspecified evaluation order, an expression may throw one of several possible exceptions: consider the expression (error "urk") + (1 `div` 0). Does the expression throw ErrorCall "urk", or DivideByZero?

The answer is "it might throw either"; the choice is non-deterministic. If you are catching any type of exception then you might catch either. If you are calling catch with type IO Int -> (ArithException -> IO Int) -> IO Int then the handler may get run with DivideByZero as an argument, or an ErrorCall "urk" exception may be propagated further up. If you call it again, you might get the opposite behaviour. This is ok, because catch is an IO computation.

throwIOException e ⇒ e → IO a #

A variant of throw that can only be used within the IO monad.

Although throwIO has a type that is an instance of the type of throw, the two functions are subtly different:

throw e   `seq` ()  ===> throw e
throwIO e `seq` ()  ===> ()

The first example will cause the exception e to be raised, whereas the second one won't. In fact, throwIO will only cause an exception to be raised when it is used within the IO monad.

The throwIO variant should be used in preference to throw to raise an exception within the IO monad because it guarantees ordering with respect to other operations, whereas throw does not. We say that throwIO throws *precise* exceptions and throw, error, etc. all throw *imprecise* exceptions. For example

throw e + error "boom" ===> error "boom"
throw e + error "boom" ===> throw e

are both valid reductions and the compiler may pick any (loop, even), whereas

throwIO e >> error "boom" ===> throwIO e

will always throw e when executed.

See also the GHC wiki page on precise exceptions for a more technical introduction to how GHC optimises around precise vs. imprecise exceptions.

foldM ∷ (Foldable t, Monad m) ⇒ (b → a → m b) → b → t a → m b #

The foldM function is analogous to foldl, except that its result is encapsulated in a monad. Note that foldM works from left-to-right over the list arguments. This could be an issue where (>>) and the `folded function' are not commutative.

foldM f a1 [x1, x2, ..., xm]

==

do
  a2 <- f a1 x1
  a3 <- f a2 x2
  ...
  f am xm

If right-to-left evaluation is required, the input list should be reversed.

Note: foldM is the same as foldlM

unlessApplicative f ⇒ Bool → f () → f () #

The reverse of when.

forM_ ∷ (Foldable t, Monad m) ⇒ t a → (a → m b) → m () #

forM_ is mapM_ with its arguments flipped. For a version that doesn't ignore the results see forM.

forM_ is just like for_, but specialised to monadic actions.

coerce ∷ ∀ {k ∷ RuntimeRep} (a ∷ TYPE k) (b ∷ TYPE k). Coercible a b ⇒ a → b #

The function coerce allows you to safely convert between values of types that have the same representation with no run-time overhead. In the simplest case you can use it instead of a newtype constructor, to go from the newtype's concrete type to the abstract type. But it also works in more complicated settings, e.g. converting a list of newtypes to a list of concrete types.

When used in conversions involving a newtype wrapper, make sure the newtype constructor is in scope.

This function is representation-polymorphic, but the RuntimeRep type argument is marked as Inferred, meaning that it is not available for visible type application. This means the typechecker will accept coerce @Int @Age 42.

Examples

Expand
>>> newtype TTL = TTL Int deriving (Eq, Ord, Show)
>>> newtype Age = Age Int deriving (Eq, Ord, Show)
>>> coerce (Age 42) :: TTL
TTL 42
>>> coerce (+ (1 :: Int)) (Age 42) :: TTL
TTL 43
>>> coerce (map (+ (1 :: Int))) [Age 42, Age 24] :: [TTL]
[TTL 43,TTL 25]

(&) ∷ a → (a → b) → b infixl 1 #

& is a reverse application operator. This provides notational convenience. Its precedence is one higher than that of the forward application operator $, which allows & to be nested in $.

>>> 5 & (+1) & show
"6"

Since: base-4.8.0.0

forM ∷ (Traversable t, Monad m) ⇒ t a → (a → m b) → m (t b) #

forM is mapM with its arguments flipped. For a version that ignores the results see forM_.

maximumByFoldable t ⇒ (a → a → Ordering) → t a → a #

The largest element of a non-empty structure with respect to the given comparison function.

Examples

Expand

Basic usage:

>>> maximumBy (compare `on` length) ["Hello", "World", "!", "Longest", "bar"]
"Longest"

WARNING: This function is partial for possibly-empty structures like lists.

minimumByFoldable t ⇒ (a → a → Ordering) → t a → a #

The least element of a non-empty structure with respect to the given comparison function.

Examples

Expand

Basic usage:

>>> minimumBy (compare `on` length) ["Hello", "World", "!", "Longest", "bar"]
"!"

WARNING: This function is partial for possibly-empty structures like lists.

(>>>) ∷ ∀ {k} cat (a ∷ k) (b ∷ k) (c ∷ k). Category cat ⇒ cat a b → cat b c → cat a c infixr 1 #

Left-to-right composition

(<&>)Functor f ⇒ f a → (a → b) → f b infixl 1 #

Flipped version of <$>.

(<&>) = flip fmap

Examples

Expand

Apply (+1) to a list, a Just and a Right:

>>> Just 2 <&> (+1)
Just 3
>>> [1,2,3] <&> (+1)
[2,3,4]
>>> Right 3 <&> (+1)
Right 4

Since: base-4.11.0.0

isHexDigitCharBool #

Selects ASCII hexadecimal digits, i.e. '0'..'9', 'a'..'f', 'A'..'F'.

fromRight ∷ b → Either a b → b #

Return the contents of a Right-value or a default value otherwise.

Examples

Expand

Basic usage:

>>> fromRight 1 (Right 3)
3
>>> fromRight 1 (Left "foo")
1

Since: base-4.10.0.0

printfPrintfType r ⇒ String → r #

Format a variable number of arguments with the C-style formatting string.

>>> printf "%s, %d, %.4f" "hello" 123 pi
hello, 123, 3.1416

The return value is either String or (IO a) (which should be (IO ()), but Haskell's type system makes this hard).

The format string consists of ordinary characters and conversion specifications, which specify how to format one of the arguments to printf in the output string. A format specification is introduced by the % character; this character can be self-escaped into the format string using %%. A format specification ends with a format character that provides the primary information about how to format the value. The rest of the conversion specification is optional. In order, one may have flag characters, a width specifier, a precision specifier, and type-specific modifier characters.

Unlike C printf(3), the formatting of this printf is driven by the argument type; formatting is type specific. The types formatted by printf "out of the box" are:

printf is also extensible to support other types: see below.

A conversion specification begins with the character %, followed by zero or more of the following flags:

-      left adjust (default is right adjust)
+      always use a sign (+ or -) for signed conversions
space  leading space for positive numbers in signed conversions
0      pad with zeros rather than spaces
#      use an \"alternate form\": see below

When both flags are given, - overrides 0 and + overrides space. A negative width specifier in a * conversion is treated as positive but implies the left adjust flag.

The "alternate form" for unsigned radix conversions is as in C printf(3):

%o           prefix with a leading 0 if needed
%x           prefix with a leading 0x if nonzero
%X           prefix with a leading 0X if nonzero
%b           prefix with a leading 0b if nonzero
%[eEfFgG]    ensure that the number contains a decimal point

Any flags are followed optionally by a field width:

num    field width
*      as num, but taken from argument list

The field width is a minimum, not a maximum: it will be expanded as needed to avoid mutilating a value.

Any field width is followed optionally by a precision:

.num   precision
.      same as .0
.*     as num, but taken from argument list

Negative precision is taken as 0. The meaning of the precision depends on the conversion type.

Integral    minimum number of digits to show
RealFloat   number of digits after the decimal point
String      maximum number of characters

The precision for Integral types is accomplished by zero-padding. If both precision and zero-pad are given for an Integral field, the zero-pad is ignored.

Any precision is followed optionally for Integral types by a width modifier; the only use of this modifier being to set the implicit size of the operand for conversion of a negative operand to unsigned:

hh     Int8
h      Int16
l      Int32
ll     Int64
L      Int64

The specification ends with a format character:

c      character               Integral
d      decimal                 Integral
o      octal                   Integral
x      hexadecimal             Integral
X      hexadecimal             Integral
b      binary                  Integral
u      unsigned decimal        Integral
f      floating point          RealFloat
F      floating point          RealFloat
g      general format float    RealFloat
G      general format float    RealFloat
e      exponent format float   RealFloat
E      exponent format float   RealFloat
s      string                  String
v      default format          any type

The "%v" specifier is provided for all built-in types, and should be provided for user-defined type formatters as well. It picks a "best" representation for the given type. For the built-in types the "%v" specifier is converted as follows:

c      Char
u      other unsigned Integral
d      other signed Integral
g      RealFloat
s      String

Mismatch between the argument types and the format string, as well as any other syntactic or semantic errors in the format string, will cause an exception to be thrown at runtime.

Note that the formatting for RealFloat types is currently a bit different from that of C printf(3), conforming instead to showEFloat, showFFloat and showGFloat (and their alternate versions showFFloatAlt and showGFloatAlt). This is hard to fix: the fixed versions would format in a backward-incompatible way. In any case the Haskell behavior is generally more sensible than the C behavior. A brief summary of some key differences:

  • Haskell printf never uses the default "6-digit" precision used by C printf.
  • Haskell printf treats the "precision" specifier as indicating the number of digits after the decimal point.
  • Haskell printf prints the exponent of e-format numbers without a gratuitous plus sign, and with the minimum possible number of digits.
  • Haskell printf will place a zero after a decimal point when possible.

encodeUtf8TextByteString #

Encode text using UTF-8 encoding.

rightToMaybeEither a b → Maybe b #

Maybe get the Right side of an Either.

rightToMaybeeither (const Nothing) Just

Using Control.Lens:

rightToMaybe ≡ preview _Right
rightToMaybe x ≡ x^?_Right
>>> rightToMaybe (Left 12)
Nothing
>>> rightToMaybe (Right 12)
Just 12

ifor_ ∷ (FoldableWithIndex i t, Applicative f) ⇒ t a → (i → a → f b) → f () #

Traverse elements with access to the index i, discarding the results (with the arguments flipped).

ifor_flip itraverse_

When you don't need access to the index then for_ is more flexible in what it accepts.

for_ a ≡ ifor_ a . const

itoListFoldableWithIndex i f ⇒ f a → [(i, a)] #

Extract the key-value pairs from a structure.

When you don't need access to the indices in the result, then toList is more flexible in what it accepts.

toListmap snd . itoList

withSomeSome tag → (∀ (a ∷ k). tag a → b) → b #

Eliminator.

iwither ∷ (WitherableWithIndex i t, Applicative f) ⇒ (i → a → f (Maybe b)) → t a → f (t b) #

Effectful imapMaybe.

iwither ( i -> pure . f i) ≡ pure . imapMaybe f

wither ∷ (Witherable t, Applicative f) ⇒ (a → f (Maybe b)) → t a → f (t b) #

Effectful mapMaybe.

wither (pure . f) ≡ pure . mapMaybe f

pattern TODO ∷ () ⇒ HasCallStack ⇒ a #

Deprecated: TODO left in the code

Use TODO instead of undefineds

findFirstFoldable f ⇒ (a → Maybe b) → f a → Maybe b #

decodeUtf8LenientByteStringText #

Decode a strict ByteString containing UTF-8 encoded text.

lazyDecodeUtf8LenientByteStringText #

Decode a lazy ByteString containing UTF-8 encoded text.

Any invalid input bytes will be replaced with the Unicode replacement character U+FFFD.

hushEither e a → Maybe a #

Convert a Either into a Maybe, using the Right as Just and silencing the Left val as Nothing.

hoistMaybeApplicative m ⇒ Maybe b → MaybeT m b #

Convert a Maybe computation to MaybeT.

NOTE: This is also defined (& exported) in transformers-0.6.0.0, so should be removed once we upgrade to it.

Orphan instances

(TypeError ('Text "Forbidden FromJSON ByteString instance") ∷ Constraint) ⇒ FromJSON ByteString # 
Instance details

(TypeError ('Text "Forbidden ToJSON ByteString instance") ∷ Constraint) ⇒ ToJSON ByteString # 
Instance details