in reply to cross combinations
I'd hope that such things were lazy in Perl6. Doing combinatorial things by allocating them all in memory at once mostly sucks. In Perl5 I'd write an iterator. I'd hope Perl6 would support taking a list of lazy lists and "returning" a lazy list of lists (being able to take a lazy list of lazy lists and returning a lazy list of lazy lists would be even cooler).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cross combinations (lazy)
by revdiablo (Prior) on Oct 28, 2005 at 14:26 UTC | |
by tye (Sage) on Oct 28, 2005 at 15:08 UTC | |
by revdiablo (Prior) on Oct 28, 2005 at 16:33 UTC | |
by tye (Sage) on Oct 28, 2005 at 17:49 UTC |