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

PlutusCore.StdLib.Data.ScottUnit

Description

Scott-encoded unit and related functions.

Synopsis

Documentation

unit :: Type TyName uni () #

() as a PLC type.

all (A :: *). A -> A 

unitval :: TermLike term TyName Name uni fun => term () #

() as a PLC term.

/\(A :: *) -> \(x : A) -> x