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] :
    Loop(init : β) → (f : Unitβm (ForInStep β)) → m β
    Instances For
      @[implicit_reducible]
      instance Lean.instForInLoopUnitOfMonad {m : Type u_1 → Type u_2} [Monad m] :