Documentation

Lean.Data.Parsec

inductive Lean.Parsec.ParseResult (α : Type) :
Type
instance Lean.Parsec.instReprParseResult:
{α : Type} → [inst : Repr α] → Repr (Lean.Parsec.ParseResult α)
Equations
  • Lean.Parsec.instReprParseResult = { reprPrec := [anonymous] }
def Lean.Parsec (α : Type) :
Type
Equations
@[inline]
def Lean.Parsec.pure {α : Type} (a : α) :
Equations
@[inline]
def Lean.Parsec.bind {α : Type} {β : Type} (f : Lean.Parsec α) (g : αLean.Parsec β) :
Equations
@[inline]
def Lean.Parsec.fail {α : Type} (msg : String) :
Equations
@[inline]
def Lean.Parsec.orElse {α : Type} (p : Lean.Parsec α) (q : UnitLean.Parsec α) :
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
def Lean.Parsec.attempt {α : Type} (p : Lean.Parsec α) :
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
partial def Lean.Parsec.manyCore {α : Type} (p : Lean.Parsec α) (acc : Array α) :
@[inline]
def Lean.Parsec.many {α : Type} (p : Lean.Parsec α) :
Equations
@[inline]
def Lean.Parsec.many1 {α : Type} (p : Lean.Parsec α) :
Equations
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
@[inline]
Equations