Equations
- OptionT.mk x = x
Instances For
Equations
- OptionT.instAlternative = Alternative.mk (fun {α : Type ?u.20} => OptionT.fail) fun {α : Type ?u.20} => OptionT.orElse
@[inline]
Equations
- OptionT.lift x = OptionT.mk do let __do_lift ← x pure (some __do_lift)
Instances For
instance
OptionT.instMonadExceptOf
{m : Type u → Type v}
(ε : Type u)
[MonadExceptOf ε m]
:
MonadExceptOf ε (OptionT m)
Equations
- One or more equations did not get rendered due to their size.
instance
instMonadControlOptionTOfMonad
{m : Type u_1 → Type u_2}
[Monad m]
:
MonadControl m (OptionT m)
Equations
- One or more equations did not get rendered due to their size.