Documentation

DocGen4.Helpers

structure DocGen4.ChunkArray (α : Type u_1) :
Type u_1
Instances For
    def DocGen4.chunked {α : Type u_1} (xs : Array α) (n : Nat) (ok : n > 0 := by grind) :
    Equations
    • DocGen4.chunked xs n ok = { internalState := { array := xs, chunkSize := n, curr := 0, chunkSize_gt_zero := , curr_valid := } }
    Instances For
      def DocGen4.ChunkArray.PlausibleStep {α : Type u_1} {m : Type u_1 → Type u_2} (it : Std.IterM m (Subarray α)) (step : Std.IterStep (Std.IterM m (Subarray α)) (Subarray α)) :
      Equations
      Instances For
        @[implicit_reducible]
        instance DocGen4.instIteratorChunkArraySubarrayOfPure {m : Type u_1 → Type u_2} {α : Type u_1} [Pure m] :
        Equations
        • One or more equations did not get rendered due to their size.