PrimParser Lawfulness Proofs #
Lawful instances for Success, Outcome, and Parser:
LawfulFunctor, LawfulGradedFunctor, LawfulGradedApplicative, LawfulGradedMonad.
instance
Parser.instLawfulFunctorOutcome
{ε : Type}
{n : ℕ}
{gc : Necessity}
:
LawfulFunctor (Outcome ε n gc)
instance
Parser.instLawfulGradedFunctorGrade
{σ τ : Type}
[Buffer σ]
[Reader σ τ]
{ε : Type}
:
LawfulGradedFunctor (Parser σ τ ε)
instance
Parser.instLawfulGradedApplicativeGrade
{σ τ : Type}
[Buffer σ]
[Reader σ τ]
{ε : Type}
:
LawfulGradedApplicative (Parser σ τ ε)
instance
Parser.instLawfulGradedMonadGrade
{σ τ : Type}
[Buffer σ]
[Reader σ τ]
{ε : Type}
:
LawfulGradedMonad (Parser σ τ ε)