com.github.marklister.collections
At the moment the only structure available is a CollSeq
Generally you use the companion object to construct the appropriate CollSeq:
scala> CollSeq(("Jan",100,200),("Feb",120,230),("Mar",300,330)) res0: com.github.marklister.collections.immutable.CollSeq3[String,Int,Int] = CollSeq((Jan,100,200), (Feb,120,230), (Mar,300,330))
scala> res0._2 res1: Seq[Int] = List(100, 120, 300)
scala> res0._3.flatZip(res0._1).flatZip(res0._2) res3: com.github.marklister.collections.immutable.CollSeq3[Int,String,Int] = CollSeq((200,Jan,100), (230,Feb,120), (330,Mar,300))
A CollSeq holds 2D typed data.
A CollSeq holds 2D typed data. A CollSeq is both an IndexedSeq[Product] and a Product (tuple)
Immutable product-collection datastructures
At the moment the only structure available is a CollSeq
Creating
Generally you use the companion object to construct the appropriate CollSeq:
Extract a column
Assemble columns into a CollSeq