iter
iter copied to clipboard
Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
- use module alias to reduce binary bloat - use `(wrapped true)` in dune - move all heavy components (relational combinators, IO, mlist) into separate modules - keep only the...
to allow conversion from the stdlib generator?
`Sequence.(--^)` returns a reversed range, while `CCList.(--^)` returns a range with the right bound excluded. See: ```ocaml CCList.(--^) 0 5;; (* val _1 : int list = [0; 1; 2;...