Talk:Cartesian product of two or more lists

From Rosetta Code
Latest comment: 3 years ago by Paddy3118 in topic Using the 'Applicative' abstraction

Cartesian product task ?

Generating a Cartesian product can often be seen arising as a component of solutions to Rosetta Code tasks, but I can't immediately see a task in which the generation of Cartesian products (two lists or n-ary) is explicitly focal.

It seems to me like a task that might generate a useful reference and point of comparison Hout (talk) 15:08, 29 May 2017 (UTC)Reply[reply]

The Java code doesn't work?

It returns a nested list of an incomplete product?

Using the 'Applicative' abstraction

Is written in Python, but is in no way Pythonic and should not be used over the idiomatic itertools.product solution.

The task wording specifically calls for idiomatic rather than "alternative" solutions, (which the AA solution mistakenly states).
--Paddy3118 (talk) 16:54, 12 December 2020 (UTC)Reply[reply]