marklister / product-collections

A very simple, strongly typed, scala framework for tabular data. A collection of tuples. A strongly typed scala csv reader and writer. A lightweight idiomatic dataframe / datatable alternative.
BSD 2-Clause "Simplified" License
144 stars 19 forks source link

productIterator return type #19

Closed marklister closed 10 years ago

marklister commented 10 years ago
scala> CollSeq((1,2,3),(2,3,4))
res0: com.github.marklister.collections.immutable.CollSeq3[Int,Int,Int] =
CollSeq((1,2,3),
        (2,3,4))

scala> res0.productIterator
res1: Iterator[Any] = non-empty iterator
marklister commented 10 years ago

commit c76928e5549afe995d6ed2160536e387eb005eb9 fixes:

scala> CollSeq((1,2,3),(2,3,4))
res0: com.github.marklister.collections.immutable.CollSeq3[Int,Int,Int] =
CollSeq((1,2,3),
        (2,3,4))
scala> res0.productIterator
res2: Iterator[Seq[Any]] = non-empty iterator