fn write_list( f: &mut dyn Write, range: Range<usize>, values: &ArrayFormatter<'_>, ) -> FormatResult