HepLean Documentation

Init.While

Notation for while and repeat loops. #

repeat and while notation #

inductive Lean.Loop :
Instances For
    @[inline]
    def Lean.Loop.forIn {β : Type u} {m : Type u → Type v} [Monad m] :
    Lean.Loop(init : β) → (f : Unitβm (ForInStep β)) → m β
    Equations
    Instances For
      @[specialize #[]]
      partial def Lean.Loop.forIn.loop {β : Type u} {m : Type u → Type v} [Monad m] (f : Unitβm (ForInStep β)) (b : β) :
      m β
      instance Lean.instForInLoopUnit {m : Type u_1 → Type u_2} :
      Equations
      • Lean.instForInLoopUnit = { forIn := fun {β : Type ?u.14} [Monad m] => Lean.Loop.forIn }
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For