Documentation

Lean.Data.LOption

inductive Lean.LOption (α : Type u) :
Type u
instance Lean.instInhabitedLOption:
{a : Type u_1} → Inhabited (Lean.LOption a)
Equations
  • Lean.instInhabitedLOption = { default := Lean.LOption.none }
instance Lean.instBEqLOption:
{α : Type u_1} → [inst : BEq α] → BEq (Lean.LOption α)
Equations
  • Lean.instBEqLOption = { beq := [anonymous] }
instance Lean.instToStringLOption {α : Type u_1} [inst : ToString α] :
Equations
  • One or more equations did not get rendered due to their size.
def Option.toLOption {α : Type u} :
Equations
@[inline]
def toLOptionM {α : Type} {m : TypeType} [inst : Monad m] (x : m (Option α)) :
Equations