ivory-0.1.0.3: Safe embedded C programming.

Safe HaskellNone
LanguageHaskell2010

Ivory.Language.IBool

Synopsis

Documentation

ifte_ :: IBool -> Ivory eff a -> Ivory eff b -> Ivory eff () Source

If-then-else.

(?) :: IvoryExpr a => IBool -> (a, a) -> a Source

Conditional expressions.

boolOp :: forall a. IvoryVar a => (Type -> ExpOp) -> a -> a -> IBool Source

class IvoryEq a => IvoryOrd a where Source

Minimal complete definition

Nothing

Methods

(>?) :: a -> a -> IBool infix 4 Source

(>=?) :: a -> a -> IBool infix 4 Source

(<?) :: a -> a -> IBool infix 4 Source

(<=?) :: a -> a -> IBool infix 4 Source

(.&&) :: IBool -> IBool -> IBool infixr 3 Source

(.||) :: IBool -> IBool -> IBool infixr 2 Source