Rich2 / openstrat

Cross Platform Scala 2d graphics (but 3d compatible), basic geometry, maps, Earth maps, hex-tiling and strategy library(s).
https://richstrat.com
Apache License 2.0
22 stars 8 forks source link

Products, Arrays, EqT, Approx and Show. #141

Closed Rich2 closed 2 years ago

Rich2 commented 3 years ago

So the use of Product traits will be removed from the implementation of the immutable array collection classes. This will allow Products to be used for the Show, ShowT, EqT and ApproxT traits. Because the elements of some of the collections are themselves multi-element classes, the product size does not always match the number of Ints or Doubles in the elements. These Array elements will now be referred to as int1, int2 etc and dbl1, dbl2 etc.

The open issues dealing with these traits will be merged into this.

Rich2 commented 2 years ago

I think this can be folded into #177 and #181.