shimmer-0.1.1: The Reflective Lambda Machine

Safe HaskellSafe
LanguageHaskell98

SMR.Prim.Op.Bool

Synopsis

Documentation

primOpsBool :: [PrimEval s Prim w] Source #

Primitive evaluators for boolean operators.

primOpBool1 :: Name -> Text -> (Bool -> Bool) -> PrimEval s Prim w Source #

Construct an evaluator for 1-arity bool operator.

primOpBool2 :: Name -> Text -> (Bool -> Bool -> Bool) -> PrimEval s Prim w Source #

Construct an evaluator for 2-arity bool operator.

primOpIf :: PrimEval s Prim w Source #

Primitive evaluator for the #if operator. Only the scrutinee is demanded, while the branches are not.