fn singleton_or_wrap(
parts: Vec<CompoundBody>,
wrap: fn(Vec<CompoundBody>) -> CompoundBody,
) -> CompoundBodyExpand description
Unwrap a single-element list, otherwise wrap it with wrap.
fn singleton_or_wrap(
parts: Vec<CompoundBody>,
wrap: fn(Vec<CompoundBody>) -> CompoundBody,
) -> CompoundBodyUnwrap a single-element list, otherwise wrap it with wrap.