Module

CallByName.Alt

Package
purescript-call-by-name
Repository
natefaubion/purescript-call-by-name

#Alt Source

class Alt :: (Type -> Type) -> Constraintclass (Alt f) <= Alt f  where

Members

  • alt :: forall a. f a -> (Unit -> f a) -> f a

Instances

#cbnAlt Source

cbnAlt :: forall f a. Alt f => f a -> CBN (f a) -> f a

#(<|>) Source

Operator alias for CallByName.Alt.cbnAlt (right-associative / precedence 3)