Generate Combinations on Rosetta Code
Python and J-lang code
Rosetta code, deriving its name from the famous ancient Rosetta stone, is a website that collects code snippets solving simple computer problems. For every computer problem, solutions from different computer languages are listed side-by-side for comparison. In that sense, it is the Rosetta stone of computer languages, which totals way more than three.
The other day, I was trying to find from there, some code/algorithm to generate combinations of a list of items, i.e. Rosetta code: combinations


