This format is based on Keep A Changelog.
Plutarch.Orphans
:FromJSON
andToJSON
ofCurrencySymbol
andTokenName
fixed to actually match the JSON representation that CTL uses this time.
Plutarch.Orphans
:FromJSON
andToJSON
ofCurrencySymbol
andTokenName
are now derived, to match the JSON representation that CTL uses.
- Bumped Plutarch to 1.3.0.
applyArguments
toPlutarch.Extra.Script
since it was dropped on Plutus.Plutarch.Numeric.Additiv
is moved fromplutarch-numeric
.
AsBase16Codec
-basedToJSON
,FromJSON
instances forDatum
- Added
toEncoding
implementation forAsBase16Bytes
&AsBase16Codec
ToJSON
instances
- Fixed a bug allowing state tokens with non-empty names to be minted or burned.
Rename types and functions in module Plutarch.Extra.Time
in order to avoid
confusion.
PCurrentTime
->PFullyBoundedTimeRange
pcurrentTime
->pgetFullyBoundedTimeRange
currentTime
->fullyBoundedTimeRangeFromValidRange
passertCurrentTime
->passertFullyBoundedTimeRange
pisWithinCurrentTime
->pisWithinTimeRange
pisCurrentTimeWithin
->pisTimeRangeWithin
pcurrentTimeDuration
->ptimeRangeDuration
ToData
instance forFixedDecimal
now also serializes its type-level tag.FromData
andUnsafeFromData
instances forFixedDecimal
now inspect the serialized type-level tag to ensure it matches safely.PConstantDecl
forFixedDecimal
andPUnsafeLiftDecl
forPFixedDecimal
gainKnownNat
constraints.PConstantRepr (FixedDecimal unit)
is nowData
, andpconstantFromRepr
andpconstantToRepr
defer to theData
representation.
ToJSON
andFromJSON
orphan instances forPubKeyHash
.
pmax
,pmin
operating on two terms with aPOrd
instancepmaxBy
,pminBy
, taking aPComparator
directly
- Derived Aeson
ToJSON
&FromJSON
instances forPubKeyHash
,Credential
,StakingCredential
- Derived Aeson
ToJSON
&FromJSON
instances forFixedDecimal
eqClasses
, a Haskell equivalent topeqClasses
.unsafeToAssetClass
, a Haskell equivalent topunsafeToAssetClass
.
HasLabelled
, a generalization ofHasLabelledGetters
allowing for any type of optic.guarantee
andguarantees
, which parallelpreview
andpreviews
, but with a default if they 'miss'.
HasLabelledGetters
is now a synonym forHasLabelled A_Getter
.HasLabelledGetters
is markedDEPRECATED
, and will be removed in the next major release.
extendedAdaClass
andpextendedAdaClass
constants for convenience.isExtendedAdaClass
to quickly determine whether we have the ADA extended asset class, along with its Plutarch equivalentpisExtendedAdaClass
.
- Explain why
punsafeToAssetClassData
andpunsafeToAssetClass
are dangerous conversions in general.
ptoAssetClass
andptoAssetClassData
renamed topunsafeToAssetClass
andpunsafeToAssetClassData
respectively.
pextendedAssetClassValueOf'
, a parallel topassetClassValueOf'
.
ptoAssetClass
andptoAssetClassData
for convertingPExtendedAssetClass
toPAssetClass
andPAssetClassData
respectively.PlyArg
instance forExtendedAssetClass
.PlyArgOf
type instance forExtendedAssetClass
.
Real
instance forFixedDecimal
.
inspect
, as a convenient combination ofasks
andview
.inspects
, as a parallel toviews
.
AssetClass
now has anUnsafeFromData
instance, derived the same way asFromData
andToData
.- Module
Plutarch.Extra.ExtendedAssetClass
:ExtendedAssetClass
, designed to provide a runtime distinction betweenAssetClass
es whoseTokenNames
are arbitrary versus non-arbitrary.- Plutarch equivalents to the above:
PExtendedAssetClass
. - Helper functions for comparing and retrieving values from
PExtendedAssetClass
.
- In
Plutarch.Extra.Value
:psymbolValueOf'
for extracting positive and negative amount of a currency symbol separately. Particularly useful in a minting policy that supports both minting and burning.
- In
Plutarch.Extra.Applicative
:- Plutarch level monoid on applicative functors
PAlternative
PAlternative
instances for:PMaybe
PMaybeData
PList
PBuiltinList
ppureIf
- Plutarch level monoid on applicative functors
- In
Plutarch.Extra.List
:- Delete a value from a list:
pdeleteFirstBy
ptryDeleteFirstBy
pdeleteFirst
plistEqualsBy
- Deal with singleton lists:
pisSingleton
pfromSingleton
ptryFromSingleton
- Delete a value from a list:
- In
Plutarch.Extra.Ord
:pinsertUniqueBy
- In
Plutarch.Extra.ScriptContext
:- Generate token names:
validatorHashToTokenName
andpvalidatorHashToTokenName
scriptHashToTokenName
andpscriptHashToTokenName
ptryFromRedeemer
to resolve redeemer
- Generate token names:
- In
Plutarch.Extra.Time
:pcurrentTimeDuration
- In
Plutarch.Extra.Bool
:passert
- Modified the signature of
pmapMaybe'
inPlutarch.Extra.List
to allow choosing the output list type - In
Plutarch.Extra.Value
, makeunit
type parameters in the following tagged assetclass utilities poly-kinded:passetClassDataValueT
psingleValueT'
passetClassValueOfT'
passetClassValueOfT
- Module
Plutarch.Extra.Deriving
to house derivation helpers. - Derivation helper for
Semigroup
andMonoid
viaPInner
, along with a very prominent warning about potential misuse.
- Overlapping instances of
Semigroup
andMonoid
viaPInner
.
pfromInlineDatum
has been renamedptryFromInlineDatum
, to match conventions.ptryFromOutputDatum
has been renamedpfromOutputDatum
, to match conventions.pfromOutputDatum
has been renamedptryFromOutputDatum
, to match conventions.pownInput
has been renamedptryOwnInput
, to match conventions.pfromDatumHash
has been renamedptryFromDatumHash
, to match conventions.pownValue
has been renamedptryOwnValue
, to match conventions.
- Integer power (
#^
) inPlutarch.Extra.Numeric
. PRationalNoReduce
wrapper inPlutarch.Extra.Rational
, along with conversion functionspnoReduce
andpreduce'
.
- In
Plutarch.Extra.FixedDecimal
, zero-cost conversions to/from integers:toFixedZero
fromFixedZero
ptoFixedZero
pfromFixedZero
FixedDecimal
Haskell equivalent toPFixedDecimal
, along withNum
andFractional
instances and the following functions:fixedNumerator
fixedDenominator
emul
ediv
convertExp
-
PFixedDecimal
is updated so that it represents decimal point range in exponential form.Following type and functions are added along with Plutarch numerical instances.
PFixedDecimal
pfixedNumerator
pfixedDenominator
pemul
pediv
pconvertExp
pfromFixedDecimal
ptoFixedDecimal
ptoRational
punsafeMkFixedDecimal
-
old
PFixedDecimal
is renamed and relocated intoPlutarch.Extra.Fixed
.
- Modifier
GenAssetClass
to provide QuickCheck support forAssetClass
- Helper type
AdaClassPresence
for indicating whetherGenAssetClass
should generate the ADA class or not
plutarch-quickcheck
is now a direct dependency, rather than test only.
- Added a
withStateThread
function (replacing the old function) that wraps a minting policy with a unique spend state thread policy
- Renamed the old
withStateThread
function topwithStateThread
, to reflect the fact that it was applied at the plutarch level.
Plutarch.Extra.AssetClass
:- Remove unnecessary
PAsData
wrappers - Allow tags of
AssetClass
to be poly-kinded PlyArg
instance forAssetClass
- Remove unnecessary
- Module
Plutarch.Extra.Optics
, containing a utility type family for working with labelled-optics-driven records.
symbolT
andnameT
are replaced in favor of actual optics.pconstantClass
,isAdaClass
,psingleValue'
,passetClassValueOf'
can now take bothTagged unit AssetClass
andAssetClass
.
- Optics for Tagged AssetClasses:
symbolT
andnameT
. Label optic instance did not work, so these helpers were provided.
-
Plutarch.Extra.AssetClass
: renamedpcoerceCls
andpconstantClass
topcoerceClass
andpconstantClass
, respectively. -
AssetClass
,PAssetClass
, andPAssetClassData
now don't have unit tag. Tags should be provided withTagged
andPTagged
. -
Tag type tags have been removed from all
AssetClass
utilities.pisTokenSpent
passetClassDataValue
psingleValue
psingleValue'
passetClassValueOf
passetClassValueOf'
pbyClassComparator'
phasOneTokenOfAssetClass
pmatchOrTryRec
- Utilities for Tagged Assetclasses
pconstantClsT
passetClassDataValueT
psingleValueT'
passetClassValueOfT
passetClassValueOfT'
psymbolAssetClassT
passetClass
passetClassData
passetClassT
passetClassDataT
Plutarch.Extra.ScriptContext
,pfindOwnInput
with V2 types
Plutarch.Extra.StateThread
, with a state thread implementation.
Plutarch.Extra.Bool
:pcond
function for lisp-like boolean conditional-chaining.Plutarch.Extra.Value
:phasOneTokenOfAssetClass
function for checking that aPValue
contains exactly one of aPAssetClass
.phasOneTokenOfSymbol
function for checking that aPValue
contains exactly one token of anAssetClass
.
Plutarch.Extra.ExchangeRate
: Utilities for working with ExchangeRates at the type level.Plutarch.Extra.Rational
: arithmetic and lifting functions for rational types.ToData
andFromData
instances forRatio Integer
toPlutarch.Orphans
Plutarch.Extra.Value
:passetClassDataValue
for constructing singletonPValue
s based on aPAssetClassData
.pvalue
andpvaluePositive
for generating aPValue
from its underlying representation, withNoGuarantees
andPositive
guarantees, respectively.passetClassValueOf
, for finding the quantity of a particularPAssetClass
in aPValue
. A 'ticked' version for working with a Haskell-levelAssetClass
also added.pmatchValueAssets
, for 'pattern-matching' on (underlying representations of)PValue
s.psplitValue
, for 'separating' the first entry of aPValue
.- A range of
PComparator
s for comparingPValue
s.
Plutarch.Extra.List
:pfromList
, to turn a Haskell-level list of terms into aPListLike
.ptryElimSingle
, which either eliminates a singleton list-like or errors if given a non-singleton.phandleList
, a version ofpelimList
with the arguments re-ordered.
Plutarch.Extra.Map
:plookupGe
, which returns a submap with keys greater than the needle if the search is successful.phandleMin
, a version ofphandleList
for sortedPMap
s.
Plutarch.Extra.Ord
:plessThanBy
andpgreaterThanBy
, which are strict comparison versions ofpleqBy
andpgeqBy
.plessThanMapBy
(and equivalents for the other comparisons), designed for comparing twoPMap
s based on aPComparator
on values, used on shared keys.plessThanValueBy
(and equivalents for the other comparisons), designed for comparing twoPValue
s based on aPComparator
forPInteger
s, used on shared keys.
Plutarch.Extra.AssetClass
: Modified the old asset-class module to used tagged variants. Provides Data and Scott-encoded versions of Assetclasses (currency symbol and token name pairs), along with helper functions and conversion functions.- Field names have changed from
currencySymbol
andtokenName
tosymbol
andname
, and labeled optics have been added.
- Field names have changed from
Plutarch.Extra.ScriptContext
:pisTokenSpent
now tags atag :: Symbol
in its type, reflecting the move towards tag AssetClassesPlutarch.Extra.Value
:- Changed
passetClassValue
to becomepassetClassDataValue
, since it uses the data-encoded version. - The removal of
psingletonValue
changes the type signature to return a'Sorted
,'Nonzero
Value
. - The following functions now used tagged
AssetClass
es:pgeqByClass'
passetClassValueOf'
mkSingleValue
renamed topsingleValue
; its 'ticked' variant is renamed analogously.- Type arguments for
pvalueOf
are now:KeyGuarantees
,AmountGuarantees
,S
, in that order. - Type arguments for
padaOf
are now:KeyGuarantees
,AmountGuarantees
,S
, in that order.
- Changed
Plutarch.Extra.FixedDecimal
:- The removal of
psingletonValue
changes the type signature to return a'Sorted
,'Nonzero
Value
.
- The removal of
Plutarch.Extra.Value
:psingletonValue
, as this is provided upstream by Plutarch inPlutarch.Api.V1.Value
. This changes type signatures to include a'Sorted
,NonZero
value (see "Modified" above).pvalueOf
, as this is provided upstream by Plutarch inPlutarch.Api.V1.Value
.
Plutarch.Extra.Compile
:mustCompileTracing
, a tracing-enabled equivalent tomustCompile
.
Plutarch.Extra.DebuggableScript
:DebuggableScript
has label optics for its previous field selectors, under the same names.applyScript
, moved fromPlutarch.Extra.Precompile
.applyDebuggableArg
, a function for applying an argument to aDebuggableScript
when said argument is provided as a `DebuggableScript.
Plutarch.Extra.MultiSig
:MultiSig
has label optics for its previous field selectors, under the same names.mkMultiSig
for constructingMultiSig
, which ensures that the structure is consistent.HasField
instance for"signatories"
inPMultiSig
.
Plutarch.Extra.IsData
:unProductIsData
is now a regular function, not a field accessor.
Plutarch.Extra.DebuggableScript
:DebuggableScript
no longer exports its constructor.DebuggableScript
no longer has field selectors.
Plutarch.Extra.MultiSig
:MultiSig
no longer exports its constructor.MultiSig
no longer has field selectors.PMultiSig
no longer has field selectors.
Plutarch.Extra.Precompile
:debuggableScript
is now a regular function, not a field accessor.
Plutarch.Extra.Record
:runRecordMorphism
is now a regular function, not a field accessor.
Plutarch.Extra.Precompile
:applyScript
, now inPlutarch.Extra.DebuggableScript
.CompiledTerm'
, as it wasn't being used anywhere or by anything.
applyDebuggableScript
applysData
arguments toDebuggableScript
.
Plutarch.Extra.Maybe
is entirely moved toPlutonomicon/plutarch-plutus/plutarch-extra
. The module name inplutarch-extra
is identical, so existing code will build without problems.
Aeson
instances for Plutus types (in thePlutarch.Orphans
module)
All additions, removals and changes refer to Plutarch.Extra.List
unless stated
otherwise.
plookupAssoc
, designed as a very general treatment of list-like structures as assoc lists.Plutarch.Extra.Ord
module, containing a new typePOrdering
corresponding to the HaskellOrdering
, as well asPComparator
, representing a 'materialized ordering'.psort
andpsortBy
inPlutarch.Extra.Ord
, using sorting networks for extra speed, andPComparator
s.ptryMerge
andptryMergeBy
inPlutarch.Extra.Ord
, for merging list-likes sorted by a givenPComparator
.pallUnique
andpallUniqueBy
inPlutarch.Extra.Ord
, for verifying the uniqueness of the composition of a list-like.pnubSort
andpnubSortBy
, for eliminating duplicates as well as sorting.precListLookahead
toPlutarch.Extra.List
, for recursive list elimination with a 'look-ahead'.ptryResolveOutputDatum
, an 'erroring' counterpart forpresolveOutputDatum
, inPlutarch.Extra.ScriptContext
.
pmergeBy
as it is fragile.pmsort
andpmsortBy
, due to efficiency concerns.pnubSortBy
,pnubSort
,pisUniqBy
,pisUniq
,pisUniq'
,pisUniqBy'
due to removal of sorting functions or fragility.plookup
andplookupTuple
, replaced by the more generalplookupAssoc
.pisSorted
, as it is provided byplutarch-extra
aspcheckSorted
.pnotNull
andpfind'
, as they are a bit redundant.pfindDatum
andptryFindDatum
, as they're superceded bypresolveOutputDatum
andptryResolveOutputDatum
, inPlutarch.Extra.ScriptContext
.
pcheckSorted
andpreverse
are no longer re-exported.pfind'
type arguments are now: content type, list-like structure type,s
tag.pfirstJust
renamedpfindJust
.pmapMaybe
type arguments are now: list-like structure type, 'target' element type, 'source' element type,s
tag.pfindJust
type arguments are now: 'target' element type, list-like structure type, 'source' element type,s
tag.preplicate
now specifies the order of its type arguments.pisSortedBy
now moved toPlutarch.Extra.Ord
and uses the newPComparator
functionality.
PlutusTypeDataList
is a new deriving strategy forProductIsData
. It will only accept Plutarch types that havePDataRecord
as anInner
type. Otherwise, it behaves identically toPlutusTypeNewtype
.
All additions, removals and changes refer to Plutarch.Extra.Map
unless stated
otherwise.
pmapFromFoldableUnsorted
for constructing unsortedPMap
s from anyFoldable
full of key-value pairs.pmapFromFoldableSorted
for constructing sortedPMap
s from anyFoldable
full of key-value pairs.pkvPairValue
as a value counterpart forpkvPairKey
.pkeysEqualUnsorted
for doing key set comparisons between unorderedPMap
s.padjust
for applying a function to modify values at a particular key.
plookup
andpmap
, as they are now provided by Plutarch itself.pmapFromList
, as it is leaky and unsafe.Plutarch.Extra.Map.Sorted
module, as one of its functions got moved, and the other is already provided upstream by Plutarch.Plutarch.Extra.Map.Unsorted
module, as its functionality is either suspicious or outright broken throughout.Plutarch.Extra.Value.Unsorted
module, as its functionality is incorrect.
plookup'
renamed toptryLookup
, usesplookup
internally.pkeys
now produces anyPListLike
, and more clearly specifies its guarantees.pupdate
,pfoldlWithKey
andpfoldMapWithKey
now only work withSorted
PMap
s.pkvPairLt
now only needs aPPartialOrd
constraint.pkeysEqual
now requiresPIsData k
andPEq k
, but avoids two intermediate lists.pkeysEqual
now only works for sortedPMap
s.pkeysEqual
now exported fromPlutarch.Extra.Map
.
-
A
Plutarch.Extra.Time
module, containing utilities for working with time and time ranges. -
Some utilities for working with closed bounded time ranges, including
PCurrentTime
pcurrentTime
currentTime
passertCurrentTime
pisWithinCurrentTime
pisCurrentTimeWithin
- Checks
MultiSig
without the need of passing the wholePTxInfo
.
Plut
as a replacement forTop
. This is specialized for kindS -> Type
.
- Uses of
generics-sop
in every module exceptPlutarch.Extra.IsData
.
since
s added toPlutarch.Extra.Record
functions.(.=)
no longer requires anSListI
constraint.DeriveGeneric
,DeriveAnyClass
andTypeFamilies
are on by default.
-
#.*
,#.**
,#.***
for plutarch function composition. They have similar semantics as their counter parts inControl.Composition
. -
pfstTuple
andpsndTuple
forPTuple
. -
Some orphan instances, including
PIsData (PAsData a)
PTryFrom PData (PAsData PDatumHash)
PTryFrom PData (PAsData ScriptHash)
PTryFrom PData (PAsData PUnit)
-
Some useful functions to work with
POutputDatum
.
pfindTxOutDatum
, please usepresolveOutputDatum
instead.
- A
Plutarch.Extra.DebuggableScript
module, containing utilities for lazy compilation of scripts-with-tracing as a fallback when the script-without-tracing fails. This is useful for testing and benchmarking, since tracing is only turned on when error messages are actually needed. - A
Plutarch.Extra.Precompile
module, containing utilities for compiling scripts and arguments separately and applying them in various ways and from various types. This is useful for benchmarking and testing, since it will lead to performance increases and more accurate measurements of performance.
PBind
type class, for effect types with meaningful bind semantics. This is a direct equivalent toBind
fromsemigroupoids
.pjoin
and#>>=
, as direct equivalents tojoin
and>>-
fromsemigroupoids
, overTerm
s.- Instances of
PBind
forPMaybe
,PMaybeData
,PList
,PBuiltinList
,PPair s
(for semigroupals
),PEither e
,PIdentity
andPState s
. - Newtype
PStar
representing Kleisli arrows, as well as some helper functions. - Instances of
PProfunctor
,PSemigroupoid
,PCategory
,PFunctor
,PApply
,PApplicative
,PBind
forPStar
(in various parameterizations).
This major version bump includes updates to use plutus V2 (post-Vasil) API types. We have decided that we will not provide backports or updates for V1 API types in the future.
Where re-exports from Plutarch.Api.V1
exist, import from the Plutarch.Api.V2
modules have be made instead. This will not have any effect on client code, but
should clarify that these functions are indeed suitable for inclusion in V2 scripts.
- Nix flake points at a more recent version of nixpkgs, and temporarily points at a branch of
plutarch-quickcheck
- Names of modules referencing specific versions of the API (such as
Plutarch.Api.V1.AssetClass
) have been renamed to remove these references (i.e., becomingPlutarch.Extra.AssetClass
). We will only support the more current API version in the future. pfindTxOutDatum
has been updated to work with V2 style datums (i.e., including a case for inline datums.)
plutarch-quickcheck
(aka PQ), which is a dependency of LPE, upgraded to V2 API types as part of a PR that also made major changes to its internals. See here. As a result, some existing tests for LPE have been temporarily removed. Issue #53 has been opened to port these tests to PQ2.0
- Scripts compiled with 'mustCompile' now enable deterministic tracing.
pjust
andpnothing
for easier construction ofPJust
value.pmaybe
which has the same semantics asData.Maybe.maybe
.
- Rename the original
pamybe
topfromMaybe
.
- A
Plutarch.Oprhans
module, holding downcasted instances of semigroup and monoid when the upcasted type has the appropriate instances. pflip
toPlutarch.Extra.Function
Plutarch.Extra.IsData
aPlutusTypeEnumData
as a deriving strategy forPlutusType
- A
Plutarch.Extra.Compile
module, holding amustCompile
function to mimic the previous behavior ofcompile
- Update to
Liqwid.nix
- Update to Plutarch version 1.2. See the CHANGELOG
for full details.
- The flake now points at the
Plutonomicon
repository, instead of the Liqwid Labs fork. - Changes to deriving strategies and constraints may cause some API breakage. In particular,
deriving via
,PMatch
,PCon
has been eliminated, and redundantPAsDAta
,pfromData
have been reduced.
- The flake now points at the
- The
Plutarch.Extra.Other
module has been removed. This heldderiving via
wrappers that are no longer necessary. - Tests relating to
Value
s and unsortedMap
s, sincePlutarch 1.2
removed thePEq
constraint on unsorted maps.
pmatchAll
andpmatchAllC
,pletFields
that gets all Plutarch record fields.Plutarch.Extra.MultiSig
, a basic N of M multisignature validation function.pscriptHashFromAddress
, gets script hash from an address.pisScriptAddress
, checks if given address is script address.pisPubKey
, checks if given credential is a pubkey hash.pfindOutputsToAddress
, finds all TxOuts sent to an Address.pfindTxOutDatum
, finds the data corresponding to a TxOut, if there is one.phasOnlyOneTokenOfCurrencySymbol
, checks if entire value only contain one token of given currency symbol.pon
, mirroringData.Function.on
.pbuiltinUncurry
, mirroringuncurry
.pmaybeData
, mirroringmaybe
forPMaybeData
.pdjust
for easier construction ofPDJust
value.pdnothing
for easier constructionPDNothing
value.
- Fixed
PApplicative
instances that previously not worked due to not usingpfix
. - Renamed
PType
toS -> Type
. - Renamed
mustBePJust
topassertPJust
. - Renamed
mustBePDJust
topassertPDJust
.
PBoring
type class, representing singleton types.- Instances of
PBoring
for various types. preconst
forPConst
, which allows safe coercions between different 'pretend' types.PSemiTraversable
instance forPTagged
.preplicateA
andpreplicateA_
, allowing for repeated execution ofPApplicative
.pwhen
andpunless
, mirroring their Haskell counterparts.preplicate
, mirroring its Haskell counterpart.
PFunctor
now has apfconst
method as a back-end for#$>
and#<$
. This has a default implementation in terms ofpfmap
.pvoid
can now replace every location with anyPBoring
, not justPUnit
.PTraversable
now has aptraverse_
method, which allows us to avoid rebuilding thePTraversable
if we don't need it anymore. This allows much better folding, for example.PSemiTraversable
now has apsemitraverse_
method, with similar benefits toptraverse_
.psemifold
,psemifoldMap
andpsemifoldComonad
gained aPSubcategory t a
constraint, as the 'container' is guaranteed non-empty in such a case.- Significant performance improvements for
PTraversable
andPSemiTraversable
instances.
- Convenience wrapper for
DerivePNewtype
:DerivePNewtype'
,DerivePConstantViaNewtype'
- Encode product types as lists:
ProductIsData
,DerivePConstantViaDataList
- Encode enum types as integers:
EnumIsData
,PEnumData
andDerivePConstantViaEnum
- Plutarch helper functions:
pmatchEnum
,pmatchEnumFromData
pupdate
pmapMap
->pmap
pkeysEqual
pmapUnionWith
->punionWith
psort
pkeysEqual
pmapUnionWith
->punionWith
psymbolValueOf
passetClassValueOf'
pgeqByClass
pgeqByClass'
pgeqBySymbol
psort
pisJust
pisDJust
pfromMaybe
->pmaybe
tcexpectJust
(inPlutarch.Extra.Maybe
) ->pexpectJustC
(inPlutarch.Extra.TermCont
)pmaybeToMaybeData
- Re-exports from
plutarch-extra
pnotNull
pnubSortBy
/pnubSort
pisUniqueBy
/pisUnique
pmergeBy
pmsortBy
/pmsort
pfindMap
->pfirstJust
plookup
plookupTuple
pfind'
pfindMap
->pfirstJust
- Re-exports from
plutarch-extra
tcassert
->passertC
pguardWithC
- 'pguardShowC'
tcexpectJust
(inPlutarch.Extra.Maybe
) ->pexpectJustC
(inPlutarch.Extra.TermCont
)
ptokenSpent
->pisTokenSpent
pisUTXOSpent
pvalueSpent
ptxSignedBy
ptryFindDatum
pfindDatum
pfindTxInByTxOutRef
- Rename
PConstantViaDataList
toDerivePConstantViaDataList
- First release