Memory-efficient Cartesian products on heterogeneous collections.

This module is a proof-of-concept to propose memory-efficient views on collections.

This is a specific alternative to combinations, that focuses only highly efficient Cartesian products between collections of different types.

Collection[Int] X Collection[String] -> Collection[(Int,String)]

However, in Nit, there in no native tuple type. So we need a first building block, a pair.

All groups and modules

module cartesian

cartesian :: cartesian

Memory-efficient Cartesian products on heterogeneous collections.
package_diagram cartesian cartesian core core cartesian->core functional functional functional->cartesian

Parents

package core

core

Nit common library of core classes and methods

Children

package functional

functional

Nit functional types and Iterator API