Jeremy Howard wrote:
> 14,17;...20,29). What if we created a new operator ';' that works within a
> list that creates a cartesian product?:
>
> (10:20:2; 11:30:3); # Cartesian product of 10:20:2 and 11:30:3 as a LOL
A possible approach. Two issues: (1) others might argue that we should
use a multiplication like operator, e.g. x. Call it a separator and no
such discussion would arise. (2) lazy evaluation is again critical: we
don't want (10:100000; 0:1000) create a huge list in memory. So now we
have a lazy list made up of two other lazy lists. Possible I guess.
Christian