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

PlutusCore.StdLib.Data.Bool

Description

boolean and related functions.

Synopsis

Documentation

bool :: uni `Includes` Bool => Type TyName uni () Source #

Bool as a PLC type.

true :: (TermLike term TyName Name uni fun, uni `Includes` Bool) => term () Source #

True as a PLC term.

false :: (TermLike term TyName Name uni fun, uni `Includes` Bool) => term () Source #

False as a PLC term.

ifThenElse :: (TermLike term TyName Name uni DefaultFun, uni `Includes` Bool, uni `Includes` ()) => term () Source #

if_then_else_ as a PLC term.

/\(A :: *) -> \(b : Bool) (x y : () -> A) -> IfThenElse {() -> A} b x y ()