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

Tuple23 / CollSeq23 kludge #9

Closed marklister closed 10 years ago

marklister commented 11 years ago

To workaround a limitation in sbt-boilerplate we have a fake Tuple23 class and flatZip might return an instance off this class.

Ideally, I'd prefer not to have a flatZip method on CollSeq22 because this would cause a compile time error instead of a runtime error. I think a compile time error is always preferable to a runtime error.

The downside is that one would get a "no such method" error instead of a "Arities above 22 are not supported" error. But considering the alternatives I think compile time exceptions are still far preferable to runtime exceptions.

Prerequisite to fix this: some enhancement on sbt-boilerplate (at the moment it looks like a JSR233 solution)

marklister commented 10 years ago

371722e9d6caeaf8bc46124a1cc59b4d94d9e8f8 should fix this