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 subgroups 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\>

Ancestors

group codecs

core > codecs

Group module for all codec-related manipulations
group collection

core > collection

This module define several collection classes.
group text

core > text

All the classes and methods related to the manipulation of text entities

Parents

group core

core

Nit common library of core classes and methods

Children

group functional

functional

Nit functional types and Iterator API