@[specialize #[]]
def
Std.Range.forIn'.loop
{β : Type u}
{m : Type u → Type v}
[Monad m]
(start stop step : Nat)
(f : (i : Nat) → start ≤ i ∧ i < stop → β → m (ForInStep β))
(fuel i : Nat)
(hl : start ≤ i)
(b : β)
:
m β
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[specialize #[]]
def
Std.Range.forM.loop
{m : Type u → Type v}
[Monad m]
(f : Nat → m PUnit)
(fuel i stop step : Nat)
:
m PUnit
Equations
- Std.Range.forM.loop f 0 i stop step = if i ≥ stop then pure PUnit.unit else pure PUnit.unit
- Std.Range.forM.loop f fuel_2.succ i stop step = if i ≥ stop then pure PUnit.unit else do f i Std.Range.forM.loop f fuel_2 (i + step) stop step
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
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.