Spread of spreads

I don’t think I understand spreads of spreads.
I expected I to generate two spreads: 0…1 and 0…4 but I got a spread of 7 integers. So it doesn’t work as I thought?

Can there be collections of spreads?

well, it does exactly what you thought. look at the numbers coming out: 0,1,0,1,2,3,4 count the slices… ;-)

I expected more like <<0,1>, <0,1,2,3,4>> - a spread with 2 slices which are spreads too.


I think this is what you can achieve…


But why I doesn’t do that automatically?

And I will still have to work with these two spreads as two separate spreads, not as a collection of spreads.

note that in the picture, you still have a spread with 4 slices and another with 2. Those IO boxes just have extra slots to show the values. It’s actually often a great advantage to have multiple binsizes of spreads going through the same pin. Make sure to go though the link lightmare posted as well as the other docs here: spreads.

Old thread with a bit of deeper discussion also here:

OK, but why I doesn’t have binsize property and merges all spreads into one big spread while others do have this property?

vvvvalentin: well um if you use I you already know the binsizes:P

I (Spreads) doesn’t need a binsize because it’s function is to create a spread based on 2 values.