Documentation

PrimParser.GradedMonad.DoNotation

Graded Do-Notation #

Provides a gdo block that desugars into gbind/gpure calls, mirroring Lean's built-in do notation for graded monads. An optional trailing grade_by element supplies a proof that the computed grade equals the expected one.

Equations
  • One or more equations did not get rendered due to their size.
Instances For