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

PlutusIR.Transform.LetMerge

Description

A trivial simplification that merges adjacent non-recursive let terms.

Synopsis

Documentation

letMergeTerm tyname name uni fun a → Term tyname name uni fun a Source #

Recursively apply let merging cancellation.

letMergePass ∷ (Typecheckable uni fun, GEq uni, Applicative m) ⇒ PirTCConfig uni fun → Pass m TyName Name uni fun a Source #