Re:Notes on a Smaller Rust
by masklinn on Thursday July 18, 2019 @08:08AM
(#20468908)
OCaml has for and while loops. Its for loop is even more imperative than Rust's (which simply drives an iterator, whereas OCaml's has "for a to b" and "for b downto a").
OCaml doesn't have break or continue though.