insideout

Wrap composed types inside-out (eg. `Result<Option<T>, E>` or `Option<Result<T,E>>`


Keywords
option, result, inside-out
Licenses
MPL-2.0/MIT/Apache-2.0

Documentation

Travis CI Build Status dpc on crates.io dpc Gitter Chat

insideout - Wrap composed types inside-out

Turn Option<Result<O, E>> into <Result<Option<O>, E>> and the other way around. Also for Iterators and potentially other types.

Feel free to submit PR for other types where this operation makes sense.