immutable-devtools icon indicating copy to clipboard operation
immutable-devtools copied to clipboard

Implement support for Seq

Open langpavel opened this issue 9 years ago • 4 comments

How Seq should be displayed?

langpavel avatar Mar 26 '16 16:03 langpavel

It should display up to the first N values, followed by an ellipsis if the sequence continues.

Diggsey avatar Apr 22 '16 17:04 Diggsey

Ok, does anybody need this? :-) I'm also afraid of side effects. Can iterating of Seq have udesired side effects?

langpavel avatar Apr 22 '16 18:04 langpavel

Iterating any of the containers could potentially have side-effects given the ability to define properties in JS. I think in this case it's unlikely given the nature of code using ImmutableJS (namely, very pure, functional code)

Diggsey avatar Apr 22 '16 19:04 Diggsey

I know, but Seq is generated by function unlike other structures backed by data..

langpavel avatar Apr 22 '16 21:04 langpavel