Open kalman opened 8 years ago
I don't personally feel any desire for this. What made you want this?
Browsing through a list and wondering which element it was so that I could do
noms show http://demo.noms.io/cli-tour::sf-bike-parking.value[42].ADDRESS
or whatever.
And just generally getting a feel of relatively how far through a list I've scrolled.
It's not a big deal but it has > 0 utility for me.
I see.
Seems reasonable. You could even get fancy and do it every 10th item or something.
On Mon, Jul 11, 2016 at 2:03 PM, Ben Kalman notifications@github.com wrote:
And just generally getting a feel of relatively how far through a list I've scrolled.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/attic-labs/noms/issues/2008#issuecomment-231864178, or mute the thread https://github.com/notifications/unsubscribe/AAE6BDosBTTW_7_1fRo_iVaoQAI3DdAiks5qUq-RgaJpZM4JJwLS .
An alternate strategy would be to just have HRS include the indices, more like a map:
foo: [
0: "monkey",
1: "giraffe",
...
]
When I do
noms show http://demo.noms.io/cli-tour::sf-bike-parking
I see:The
// 2,520 items
is nice, what about showing the row indices as well? Strawman:@aboodman @arv