From f070edb8b91d07bd4ac8fea82317b906cc5ec1c9 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Thu, 30 Jan 2014 02:09:37 -0600 Subject: [PATCH] forgot to export product --- lib/pure/algorithm.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/algorithm.nim b/lib/pure/algorithm.nim index 2620f7c901..b71b2c0fce 100644 --- a/lib/pure/algorithm.nim +++ b/lib/pure/algorithm.nim @@ -131,7 +131,7 @@ proc sort*[T](a: var openArray[T], dec(m, s*2) s = s*2 -proc product[T](x: openarray[seq[T]]): seq[seq[T]] = +proc product*[T](x: openarray[seq[T]]): seq[seq[T]] = ## produces the Cartesian product of the array. Warning: complexity ## may explode. result = @[]