fn batch_elements<S: Copy, U>(
slice: &[S],
convert: impl Fn(S) -> Result<U, String>,
) -> Result<Vec<U>, SexpError>Expand description
Convert every element of slice, batching every failure (its reason and
1-based position) into one SexpError::InvalidValue instead of stopping
at the first.