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] }
noncomputable def Lean.Parsec (α : Type) :
Type
Equations
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
@[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
@[inline]
@[inline]
Equations
@[inline]
Equations
@[inline]
Equations