plutus-core-1.60.0.0: Language library for Plutus Core
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusIR.Core.Plated

Synopsis

termUniques :: Arity -> Traversal' (Term tyname name uni fun a) (Term tyname name uni fun a) #

Focus on the term under the binders corresponding to the given arity. e.g. for arity [TermParam, TermParam] and term x y -> t it focusses on t.

_Constant :: Prism' (Term tyname name uni fun a) (a, ValueOf uni)) #

View a term as a constant.