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

PlutusCore.Evaluation.Machine.BuiltinCostModel

Synopsis

Documentation

data BuiltinCostModelBase f Source #

Constructors

BuiltinCostModelBase

Fields

Instances

Instances details
AllArgumentModels ( Lift :: Type -> Constraint ) f => Lift ( BuiltinCostModelBase f :: Type ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

AllArgumentModels Eq f => Eq ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

AllArgumentModels Show f => Show ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ( BuiltinCostModelBase CostingFun ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ( BuiltinCostModelBase MCostingFun ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ( BuiltinCostModelBase CostingFun ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

AllArgumentModels NFData f => NFData ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

AllArgumentModels Default f => Default ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ConstraintsB BuiltinCostModelBase Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

TraversableB BuiltinCostModelBase Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

btraverse :: Applicative e => ( forall (a :: k). f a -> e (g a)) -> BuiltinCostModelBase f -> e ( BuiltinCostModelBase g) Source #

FunctorB BuiltinCostModelBase Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

bmap :: ( forall (a :: k). f a -> g a) -> BuiltinCostModelBase f -> BuiltinCostModelBase g Source #

type Rep ( BuiltinCostModelBase f) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ( BuiltinCostModelBase f) = D1 (' MetaData "BuiltinCostModelBase" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "BuiltinCostModelBase" ' PrefixI ' True ) ((((( S1 (' MetaSel (' Just "paramAddInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: ( S1 (' MetaSel (' Just "paramSubtractInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramMultiplyInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))) :*: ( S1 (' MetaSel (' Just "paramDivideInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: ( S1 (' MetaSel (' Just "paramQuotientInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramRemainderInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments ))))) :*: (( S1 (' MetaSel (' Just "paramModInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: ( S1 (' MetaSel (' Just "paramEqualsInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramLessThanInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))) :*: (( S1 (' MetaSel (' Just "paramLessThanEqualsInteger") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramAppendByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments ))) :*: ( S1 (' MetaSel (' Just "paramConsByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramSliceByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )))))) :*: ((( S1 (' MetaSel (' Just "paramLengthOfByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: ( S1 (' MetaSel (' Just "paramIndexByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramEqualsByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))) :*: (( S1 (' MetaSel (' Just "paramLessThanByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramLessThanEqualsByteString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments ))) :*: ( S1 (' MetaSel (' Just "paramSha2_256") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramSha3_256") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))))) :*: (( S1 (' MetaSel (' Just "paramBlake2b_256") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: ( S1 (' MetaSel (' Just "paramVerifyEd25519Signature") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )) :*: S1 (' MetaSel (' Just "paramVerifyEcdsaSecp256k1Signature") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )))) :*: (( S1 (' MetaSel (' Just "paramVerifySchnorrSecp256k1Signature") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )) :*: S1 (' MetaSel (' Just "paramAppendString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments ))) :*: ( S1 (' MetaSel (' Just "paramEqualsString") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramEncodeUtf8") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))))))) :*: (((( S1 (' MetaSel (' Just "paramDecodeUtf8") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: ( S1 (' MetaSel (' Just "paramIfThenElse") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )) :*: S1 (' MetaSel (' Just "paramChooseUnit") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))) :*: ( S1 (' MetaSel (' Just "paramTrace") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: ( S1 (' MetaSel (' Just "paramFstPair") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramSndPair") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))))) :*: (( S1 (' MetaSel (' Just "paramChooseList") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelThreeArguments )) :*: ( S1 (' MetaSel (' Just "paramMkCons") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramHeadList") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )))) :*: (( S1 (' MetaSel (' Just "paramTailList") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramNullList") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))) :*: ( S1 (' MetaSel (' Just "paramChooseData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelSixArguments )) :*: S1 (' MetaSel (' Just "paramConstrData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))))) :*: ((( S1 (' MetaSel (' Just "paramMapData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: ( S1 (' MetaSel (' Just "paramListData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramIData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )))) :*: (( S1 (' MetaSel (' Just "paramBData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramUnConstrData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))) :*: ( S1 (' MetaSel (' Just "paramUnMapData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramUnListData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))))) :*: (( S1 (' MetaSel (' Just "paramUnIData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: ( S1 (' MetaSel (' Just "paramUnBData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramEqualsData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )))) :*: (( S1 (' MetaSel (' Just "paramMkPairData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelTwoArguments )) :*: S1 (' MetaSel (' Just "paramMkNilData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument ))) :*: ( S1 (' MetaSel (' Just "paramMkNilPairData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )) :*: S1 (' MetaSel (' Just "paramSerialiseData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 (f ModelOneArgument )))))))))
type AllB (c :: Type -> Constraint ) BuiltinCostModelBase Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

data CostingFun model Source #

Constructors

CostingFun

Fields

Instances

Instances details
Lift model => Lift ( CostingFun model :: Type ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Eq model => Eq ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show model => Show ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Associated Types

type Rep ( CostingFun model) :: Type -> Type Source #

ToJSON model => ToJSON ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ( BuiltinCostModelBase CostingFun ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON model => FromJSON ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ( BuiltinCostModelBase CostingFun ) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData model => NFData ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Methods

rnf :: CostingFun model -> () Source #

Default model => Default ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ( CostingFun model) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ( CostingFun model) = D1 (' MetaData "CostingFun" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "CostingFun" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "costingFunCpu") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 model) :*: S1 (' MetaSel (' Just "costingFunMemory") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 model)))

data ModelAddedSizes Source #

s * (x + y) + I

Instances

Instances details
Eq ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelAddedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelAddedSizes = D1 (' MetaData "ModelAddedSizes" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelAddedSizes" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelAddedSizesIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelAddedSizesSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelSubtractedSizes Source #

s * (x - y) + I

Instances

Instances details
Eq ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelSubtractedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelSubtractedSizes = D1 (' MetaData "ModelSubtractedSizes" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelSubtractedSizes" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelSubtractedSizesIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: ( S1 (' MetaSel (' Just "modelSubtractedSizesSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelSubtractedSizesMinimum") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ))))

data ModelConstantOrLinear Source #

if p then s*x else c; p depends on usage

Instances

Instances details
Eq ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelConstantOrLinear Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelConstantOrLinear = D1 (' MetaData "ModelConstantOrLinear" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelConstantOrLinear" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelConstantOrLinearConstant") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: ( S1 (' MetaSel (' Just "modelConstantOrLinearIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelConstantOrLinearSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ))))

data ModelConstantOrTwoArguments Source #

if p then f(x,y) else c; p depends on usage

Instances

Instances details
Eq ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelConstantOrTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelConstantOrTwoArguments = D1 (' MetaData "ModelConstantOrTwoArguments" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelConstantOrTwoArguments" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelConstantOrTwoArgumentsConstant") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelConstantOrTwoArgumentsModel") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelTwoArguments )))

data ModelLinearSize Source #

Instances

Instances details
Eq ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelLinearSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelLinearSize = D1 (' MetaData "ModelLinearSize" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelLinearSize" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelLinearSizeIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelLinearSizeSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelMultipliedSizes Source #

s * (x * y) + I

Instances

Instances details
Eq ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMultipliedSizes Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMultipliedSizes = D1 (' MetaData "ModelMultipliedSizes" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelMultipliedSizes" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelMultipliedSizesIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelMultipliedSizesSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelMinSize Source #

s * min(x, y) + I

Instances

Instances details
Eq ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMinSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMinSize = D1 (' MetaData "ModelMinSize" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelMinSize" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelMinSizeIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelMinSizeSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelMaxSize Source #

s * max(x, y) + I

Instances

Instances details
Eq ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMaxSize Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelMaxSize = D1 (' MetaData "ModelMaxSize" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelMaxSize" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "modelMaxSizeIntercept") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger ) :*: S1 (' MetaSel (' Just "modelMaxSizeSlope") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelOneArgument Source #

Instances

Instances details
Eq ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelOneArgument Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

data ModelTwoArguments Source #

Instances

Instances details
Eq ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelTwoArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelTwoArguments = D1 (' MetaData "ModelTwoArguments" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ((( C1 (' MetaCons "ModelTwoArgumentsConstantCost" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )) :+: C1 (' MetaCons "ModelTwoArgumentsLinearInX" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelLinearSize ))) :+: ( C1 (' MetaCons "ModelTwoArgumentsLinearInY" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelLinearSize )) :+: ( C1 (' MetaCons "ModelTwoArgumentsAddedSizes" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelAddedSizes )) :+: C1 (' MetaCons "ModelTwoArgumentsSubtractedSizes" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelSubtractedSizes ))))) :+: (( C1 (' MetaCons "ModelTwoArgumentsMultipliedSizes" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelMultipliedSizes )) :+: ( C1 (' MetaCons "ModelTwoArgumentsMinSize" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelMinSize )) :+: C1 (' MetaCons "ModelTwoArgumentsMaxSize" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelMaxSize )))) :+: ( C1 (' MetaCons "ModelTwoArgumentsLinearOnDiagonal" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelConstantOrLinear )) :+: ( C1 (' MetaCons "ModelTwoArgumentsConstAboveDiagonal" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelConstantOrTwoArguments )) :+: C1 (' MetaCons "ModelTwoArgumentsConstBelowDiagonal" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 ModelConstantOrTwoArguments ))))))

data ModelThreeArguments Source #

Instances

Instances details
Eq ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelThreeArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

data ModelFourArguments Source #

Instances

Instances details
Eq ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelFourArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelFourArguments = D1 (' MetaData "ModelFourArguments" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelFourArgumentsConstantCost" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelFiveArguments Source #

Instances

Instances details
Eq ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelFiveArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelFiveArguments = D1 (' MetaData "ModelFiveArguments" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelFiveArgumentsConstantCost" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

data ModelSixArguments Source #

Instances

Instances details
Eq ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Show ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Generic ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

ToJSON ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

FromJSON ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

NFData ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Default ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

Lift ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelSixArguments Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel

type Rep ModelSixArguments = D1 (' MetaData "ModelSixArguments" "PlutusCore.Evaluation.Machine.BuiltinCostModel" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' False ) ( C1 (' MetaCons "ModelSixArgumentsConstantCost" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedStrict ) ( Rec0 CostingInteger )))

class Hashable a Source #

The class of types that can be converted to a hash value.

Minimal implementation: hashWithSalt .

Note: the hash is not guaranteed to be stable across library versions, operating systems or architectures. For stable hashing use named hashes: SHA256, CRC32 etc.

If you are looking for Hashable instance in time package, check time-compat

Instances

Instances details
Hashable Bool
Instance details

Defined in Data.Hashable.Class

Hashable Char
Instance details

Defined in Data.Hashable.Class

Hashable Double

Note : prior to hashable-1.3.0.0 , hash 0.0 /= hash (-0.0)

The hash of NaN is not well defined.

Since: hashable-1.3.0.0

Instance details

Defined in Data.Hashable.Class

Hashable Float

Note : prior to hashable-1.3.0.0 , hash 0.0 /= hash (-0.0)

The hash of NaN is not well defined.

Since: hashable-1.3.0.0

Instance details

Defined in Data.Hashable.Class

Hashable Int
Instance details

Defined in Data.Hashable.Class

Hashable Int8
Instance details

Defined in Data.Hashable.Class

Hashable Int16
Instance details

Defined in Data.Hashable.Class

Hashable Int32
Instance details

Defined in Data.Hashable.Class

Hashable Int64
Instance details

Defined in Data.Hashable.Class

Hashable Integer
Instance details

Defined in Data.Hashable.Class

Hashable Natural
Instance details

Defined in Data.Hashable.Class

Hashable Ordering
Instance details

Defined in Data.Hashable.Class

Hashable Word
Instance details

Defined in Data.Hashable.Class

Hashable Word8
Instance details

Defined in Data.Hashable.Class

Hashable Word16
Instance details

Defined in Data.Hashable.Class

Hashable Word32
Instance details

Defined in Data.Hashable.Class

Hashable Word64
Instance details

Defined in Data.Hashable.Class

Hashable SomeTypeRep
Instance details

Defined in Data.Hashable.Class

Hashable ()
Instance details

Defined in Data.Hashable.Class

Hashable Version
Instance details

Defined in Data.Hashable.Class

Hashable ByteString
Instance details

Defined in Data.Hashable.Class

Hashable ByteString
Instance details

Defined in Data.Hashable.Class

Hashable Scientific

A hash can be safely calculated from a Scientific . No magnitude 10^e is calculated so there's no risk of a blowup in space or time when hashing scientific numbers coming from untrusted sources.

>>> import Data.Hashable (hash)
>>> let x = scientific 1 2
>>> let y = scientific 100 0
>>> (x == y, hash x == hash y)
(True,True)
Instance details

Defined in Data.Scientific

Hashable Text
Instance details

Defined in Data.Hashable.Class

Hashable Value
Instance details

Defined in Data.Aeson.Types.Internal

Hashable Key
Instance details

Defined in Data.Aeson.Key

Hashable ThreadId
Instance details

Defined in Data.Hashable.Class

Hashable Text
Instance details

Defined in Data.Hashable.Class

Hashable Void
Instance details

Defined in Data.Hashable.Class

Hashable Unique
Instance details

Defined in Data.Hashable.Class

Hashable WordPtr
Instance details

Defined in Data.Hashable.Class

Hashable IntPtr
Instance details

Defined in Data.Hashable.Class

Hashable Fingerprint

Since: hashable-1.3.0.0

Instance details

Defined in Data.Hashable.Class

Hashable ShortByteString
Instance details

Defined in Data.Hashable.Class

Hashable IntSet

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Hashable BigNat
Instance details

Defined in Data.Hashable.Class

Hashable ShortText
Instance details

Defined in Data.Text.Short.Internal

Hashable QuarterOfYear
Instance details

Defined in Data.Time.Calendar.Quarter.Compat

Hashable Quarter
Instance details

Defined in Data.Time.Calendar.Quarter.Compat

Hashable Month
Instance details

Defined in Data.Time.Calendar.Month.Compat

Hashable UUID
Instance details

Defined in Data.UUID.Types.Internal

Hashable TermUnique Source #
Instance details

Defined in PlutusCore.Name

Hashable TypeUnique Source #
Instance details

Defined in PlutusCore.Name

Hashable Unique Source #
Instance details

Defined in PlutusCore.Name

Hashable TyName Source #
Instance details

Defined in PlutusCore.Name

Hashable Name Source #
Instance details

Defined in PlutusCore.Name

Hashable DefaultFun Source #
Instance details

Defined in PlutusCore.Default.Builtins

Hashable StepKind Source #
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

Hashable ExtensionFun Source #
Instance details

Defined in PlutusCore.Examples.Builtins

Hashable a => Hashable [a]
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Maybe a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Ratio a)
Instance details

Defined in Data.Hashable.Class

Hashable ( Ptr a)
Instance details

Defined in Data.Hashable.Class

Hashable ( FunPtr a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Solo a)

Since: OneTuple-0.3.1

Instance details

Defined in Data.Tuple.Solo

Hashable v => Hashable ( KeyMap v)
Instance details

Defined in Data.Aeson.KeyMap

Hashable v => Hashable ( Tree v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Identity a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Complex a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Min a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Max a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( First a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Last a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( WrappedMonoid a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Option a)
Instance details

Defined in Data.Hashable.Class

Hashable ( StableName a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( NonEmpty a)
Instance details

Defined in Data.Hashable.Class

Hashable v => Hashable ( Set v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Hashable v => Hashable ( Seq v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Hashable v => Hashable ( IntMap v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

Hashable1 f => Hashable ( Fix f)
Instance details

Defined in Data.Fix

Hashable ( Hashed a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( HashSet a)
Instance details

Defined in Data.HashSet.Internal

Hashable a => Hashable ( RAList a)
Instance details

Defined in Data.RAList.Internal

Hashable a => Hashable ( Leaf a)
Instance details

Defined in Data.RAList.Tree.Internal

Hashable a => Hashable ( Maybe a)
Instance details

Defined in Data.Strict.Maybe

Hashable ann => Hashable ( Version ann) Source #
Instance details

Defined in PlutusCore.Core.Type

Hashable ann => Hashable ( Kind ann) Source #
Instance details

Defined in PlutusCore.Core.Type

Hashable fun => Hashable ( ExBudgetCategory fun) Source #
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.Internal

( Hashable a, Hashable b) => Hashable ( Either a b)
Instance details

Defined in Data.Hashable.Class

Hashable ( TypeRep a)
Instance details

Defined in Data.Hashable.Class

( Hashable a1, Hashable a2) => Hashable (a1, a2)
Instance details

Defined in Data.Hashable.Class

( Hashable k, Hashable v) => Hashable ( Map k v)

Since: hashable-1.3.4.0

Instance details

Defined in Data.Hashable.Class

( Hashable k, Hashable v) => Hashable ( HashMap k v)
Instance details

Defined in Data.HashMap.Internal

Hashable ( Fixed a)
Instance details

Defined in Data.Hashable.Class

Hashable a => Hashable ( Arg a b)

Note : Prior to hashable-1.3.0.0 the hash computation included the second argument of Arg which wasn't consistent with its Eq instance.

Since: hashable-1.3.0.0

Instance details

Defined in Data.Hashable.Class

Hashable ( Proxy a)
Instance details

Defined in Data.Hashable.Class

( Hashable k, Hashable a) => Hashable ( MonoidalHashMap k a)
Instance details

Defined in Data.HashMap.Monoidal

Hashable (f a) => Hashable ( Node f a)
Instance details

Defined in Data.RAList.Tree.Internal

( Hashable a, Hashable b) => Hashable ( These a b)
Instance details

Defined in Data.These

( Hashable a, Hashable b) => Hashable ( Pair a b)
Instance details

Defined in Data.Strict.Tuple

( Hashable a, Hashable b) => Hashable ( These a b)
Instance details

Defined in Data.Strict.These

( Hashable a, Hashable b) => Hashable ( Either a b)
Instance details

Defined in Data.Strict.Either

( Hashable a1, Hashable a2, Hashable a3) => Hashable (a1, a2, a3)
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> (a1, a2, a3) -> Int Source #

hash :: (a1, a2, a3) -> Int Source #

Hashable a => Hashable ( Const a b)
Instance details

Defined in Data.Hashable.Class

( Hashable a1, Hashable a2, Hashable a3, Hashable a4) => Hashable (a1, a2, a3, a4)
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> (a1, a2, a3, a4) -> Int Source #

hash :: (a1, a2, a3, a4) -> Int Source #

( Hashable1 f, Hashable1 g, Hashable a) => Hashable ( Product f g a)
Instance details

Defined in Data.Hashable.Class

( Hashable1 f, Hashable1 g, Hashable a) => Hashable ( Sum f g a)
Instance details

Defined in Data.Hashable.Class

( Hashable a1, Hashable a2, Hashable a3, Hashable a4, Hashable a5) => Hashable (a1, a2, a3, a4, a5)
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> (a1, a2, a3, a4, a5) -> Int Source #

hash :: (a1, a2, a3, a4, a5) -> Int Source #

( Hashable1 f, Hashable1 g, Hashable a) => Hashable ( Compose f g a)

In general, hash (Compose x) ≠ hash x . However, hashWithSalt satisfies its variant of this equivalence.

Instance details

Defined in Data.Hashable.Class

( Hashable a1, Hashable a2, Hashable a3, Hashable a4, Hashable a5, Hashable a6) => Hashable (a1, a2, a3, a4, a5, a6)
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> (a1, a2, a3, a4, a5, a6) -> Int Source #

hash :: (a1, a2, a3, a4, a5, a6) -> Int Source #

( Hashable a1, Hashable a2, Hashable a3, Hashable a4, Hashable a5, Hashable a6, Hashable a7) => Hashable (a1, a2, a3, a4, a5, a6, a7)
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> (a1, a2, a3, a4, a5, a6, a7) -> Int Source #

hash :: (a1, a2, a3, a4, a5, a6, a7) -> Int Source #

newtype MCostingFun a Source #

Same as CostingFun but maybe missing. We could use 'Compose Maybe CostinFun' instead but we would then need an orphan ToJSON instance.