@@ -524,7 +524,7 @@ and reduce_prem env prem : [`True of Subst.t | `False | `None] =
524524 else
525525 (match iter' with
526526 | Opt ->
527- (* Iterationen values es'/ es_in are in hnf, so got to be options. *)
527+ (* Iterationen values es_in are in hnf, so got to be options. *)
528528 let eos_in = List. map as_opt_exp es_in in
529529 if List. for_all Option. is_none eos_in then
530530 (* Iterating over empty options: nothing to do. *)
@@ -555,7 +555,7 @@ and reduce_prem env prem : [`True of Subst.t | `False | `None] =
555555 `None
556556 | List | List1 ->
557557 (* Unspecified iteration count: get length from (first) iteration value
558- * and start over; es'/ es_in is in hnf, so got to be a list . *)
558+ * and start over; es_in are in hnf, so got to be lists . *)
559559 let n = List. length (as_list_exp (List. hd es_in)) in
560560 if iter' = List || n > = 1 then
561561 let en = NumE (`Nat (Z. of_int n)) $$ prem.at % (NumT `NatT $ prem.at) in
@@ -565,7 +565,7 @@ and reduce_prem env prem : [`True of Subst.t | `False | `None] =
565565 * (This is a stuck computation, i.e., undefined.) *)
566566 `None
567567 | ListN ({it = NumE (`Nat n' ); _} , xo ) ->
568- (* Iterationen values es'/ es_in are in hnf, so got to be lists. *)
568+ (* Iterationen values es_in are in hnf, so got to be lists. *)
569569 let ess_in = List. map as_list_exp es_in in
570570 let ns = List. map List. length ess_in in
571571 let n = Z. to_int n' in
0 commit comments