use *;
use crateChipError;
/// Parallel `items.iter().map(f).collect::<Result<Vec<_>, _>>()` with the sequential error
/// semantics: when several items fail, the error of the FIRST failing item (in input order)
/// is returned. rayon's own `collect::<Result<_, _>>()` returns an arbitrary one of them,
/// which would make the reported error depend on thread scheduling.
// Only the Python bindings call this outside of tests.
pub