Angle brackets in design script

I’m trying to understand the use of angle brackets in the syntax and their use with lists. It doesn’t make sense from the documentation. Can someone please explain it.
e.g.

a = [1, 3, 5, 7];
b = [11, 12, 13];
b<1>+a<2>;

What do these numbers in angle brackets mean and how do they work. Thanks

Those are the replication guides. They allow you to explicitly alter the lacing order which the function uses. The best write up I have seen on them is this amazing post from @Vikram_Subbaiah: Design Script's ambiguous and versatile Replication Guides <1>

3 Likes