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

PlutusIR.Compiler.Let

Description

Functions for compiling PIR let terms.

Synopsis

Documentation

compileLets :: Compiling m uni fun a => LetKind -> PIRTerm uni fun a -> m (PIRTerm uni fun a) #

Compile the let terms out of a Term. Note: the result does *not* have globally unique names.

data LetKind #

Instances

Instances details
Show LetKind # 
Instance details

Defined in PlutusIR.Compiler.Let

Eq LetKind # 
Instance details

Defined in PlutusIR.Compiler.Let

Methods

(==) :: LetKind -> LetKind -> Bool #

(/=) :: LetKind -> LetKind -> Bool #

Ord LetKind # 
Instance details

Defined in PlutusIR.Compiler.Let

compileLetsPass :: Compiling m uni fun a => PirTCConfig uni fun -> LetKind -> Pass m TyName Name uni fun (Provenance a) #

compileLetsPassSC :: Compiling m uni fun a => PirTCConfig uni fun -> LetKind -> Pass m TyName Name uni fun (Provenance a) #