List & combinations...
- From: Georgios Petasis <petasis@xxxxxxxxxxxxxxxxx>
- Date: Sun, 08 Jul 2012 01:22:47 +0300
Hi all,
If a have a list like the following:
{ {1 2 3} {a b} }
is there an easy way to get all combinations, like:
1 a
2 a
3 a
1 b
2 b
3 b
Something like ::struct::list permutations that I don't know of?
George
.
- Follow-Ups:
- Re: List & combinations...
- From: Les Cargill
- Re: List & combinations...
- Prev by Date: Re: how do you have tclsh source files such that I can run say rglob script, since rglob not part of tcl
- Next by Date: Re: List & combinations...
- Previous by thread: how do you have tclsh source files such that I can run say rglob script, since rglob not part of tcl
- Next by thread: Re: List & combinations...
- Index(es):