Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PBool (s :: S)
- class PEq t where
- class PEq t => PPartialOrd t where
- class PPartialOrd t => POrd t
- pif :: Term s PBool -> Term s a -> Term s a -> Term s a
- pif' :: Term s (PBool :--> (a :--> (a :--> a)))
- pnot :: Term s (PBool :--> PBool)
- (#&&) :: Term s PBool -> Term s PBool -> Term s PBool
- (#||) :: Term s PBool -> Term s PBool -> Term s PBool
- por :: Term s (PBool :--> (PDelayed PBool :--> PDelayed PBool))
- pand :: Term s (PBool :--> (PDelayed PBool :--> PDelayed PBool))
- pand' :: Term s (PBool :--> (PBool :--> PBool))
- por' :: Term s (PBool :--> (PBool :--> PBool))
Documentation
Plutus BuiltinBool
Instances
PEq PBool Source # | |
POrd PBool Source # | |
Defined in Plutarch.Bool | |
PPartialOrd PBool Source # | |
PIsData PBool Source # | Instance for PBool following the Plutus IsData repr
given by |
PlutusType PBool Source # | |
Defined in Plutarch.Bool | |
PUnsafeLiftDecl PBool Source # | |
PShow PBool Source # | |
Show (PBool s) Source # | |
type PContravariant' PBool Source # | |
Defined in Plutarch.Bool | |
type PCovariant' PBool Source # | |
Defined in Plutarch.Bool | |
type PInner PBool Source # | |
Defined in Plutarch.Bool | |
type PVariant' PBool Source # | |
Defined in Plutarch.Bool | |
type PLifted PBool Source # | |
Defined in Plutarch.Bool |
Nothing
Instances
class PEq t => PPartialOrd t where Source #
Partial ordering relation.
Nothing
(#<=) :: Term s t -> Term s t -> Term s PBool infix 4 Source #
(#<) :: Term s t -> Term s t -> Term s PBool infix 4 Source #
Instances
class PPartialOrd t => POrd t Source #
Total ordering relation.
Instances
pif' :: Term s (PBool :--> (a :--> (a :--> a))) Source #
Strict version of pif
.
Emits slightly less code.
(#&&) :: Term s PBool -> Term s PBool -> Term s PBool infixr 3 Source #
Lazily evaluated boolean and for PBool
terms.
(#||) :: Term s PBool -> Term s PBool -> Term s PBool infixr 2 Source #
Lazily evaluated boolean or for PBool
terms.
por :: Term s (PBool :--> (PDelayed PBool :--> PDelayed PBool)) Source #
Hoisted, Plutarch level, lazily evaluated boolean or function.
pand :: Term s (PBool :--> (PDelayed PBool :--> PDelayed PBool)) Source #
Hoisted, Plutarch level, lazily evaluated boolean and function.
pand' :: Term s (PBool :--> (PBool :--> PBool)) Source #
Hoisted, Plutarch level, strictly evaluated boolean and function.
por' :: Term s (PBool :--> (PBool :--> PBool)) Source #
Hoisted, Plutarch level, strictly evaluated boolean or function.
Orphan instances
PConstantDecl Bool Source # | |
type PConstantRepr Bool Source # type PConstanted Bool :: PType Source # |