+1, I like the new display a lot.
On Wednesday, October 7, 2015 at 10:53:00 PM UTC-4, Steven G. Johnson wrote: > > > > On Wednesday, October 7, 2015 at 8:05:19 PM UTC-4, Art Kuo wrote: >> >> I've coded up a simple replacement to the show() function for ranges. The >> idea is to give the user information more likely to be what they are >> wondering. Here are some examples of its output: >> > > It looks great to me; please consider submitting a pull request. > > Any thoughts on this arrangement? The output differs from collect() in >> that I've arranged elements in a compact row. Also I've assumed that it's >> sufficient to print out only the first three elements, and the last two, >> because the user should be able to figure it out from there. A possible >> point of confusion is "7-element" which isn't actually true of the Range >> object. Would it be better to output "7-length" or something else? >> > > "7-element" is nice because it mirrors the output for Array objects. I > don't see the problem. > >
