plutus-core-0.1.0.0: Language library for Plutus Core
Safe HaskellNone
LanguageHaskell2010

PlutusCore.StdLib.Data.ScottUnit

Description

Scott-encoded unit and related functions.

Synopsis

Documentation

unit :: Type TyName uni () Source #

() as a PLC type.

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

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

() as a PLC term.

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