nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile: `all` generate manpages as `pandoc` is no more required
[nit.git]
/
lib
/
cartesian.nit
diff --git
a/lib/cartesian.nit
b/lib/cartesian.nit
index
7090050
..
35c65b2
100644
(file)
--- a/
lib/cartesian.nit
+++ b/
lib/cartesian.nit
@@
-8,7
+8,7
@@
# You are allowed to redistribute it and sell it, alone or is a part of
# another product.
# You are allowed to redistribute it and sell it, alone or is a part of
# another product.
-# Cartesian products on heterogeneous collections.
+# Memory-efficient Cartesian products on heterogeneous collections.
#
# This module is a proof-of-concept to propose memory-efficient views on collections.
#
#
# This module is a proof-of-concept to propose memory-efficient views on collections.
#
@@
-19,6
+19,7
@@
#
# However, in Nit, there in no native *tuple* type.
# So we need a first building block, a pair.
#
# However, in Nit, there in no native *tuple* type.
# So we need a first building block, a pair.
+module cartesian
# A simple read-only pair of two elements `e` and `f`.
class Pair[E, F]
# A simple read-only pair of two elements `e` and `f`.
class Pair[E, F]