Lwtreslib update seq
The Stdlib's Seq module has evolved a lot. This MR
- adds some safety wrappers around
Stdlib.Seq
functions which can raise exceptions, - adds some monadic-traversal variants to the traversals added to
Stdlib.Seq
(e.g.,iteri_{e,s,es}
to accompanyiteri
), - updates
Environment_V8
to include all theSeq
functions (except foronce
which relies on exceptions).
Note that this MR doesn't bring Seq_{e,s,es}
into the environment. Although a follow-up MR might do so.
Edited by Mehdi Bouaziz