forgot to export product
This commit is contained in:
parent
ac0f15379c
commit
f070edb8b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = @[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue