def merge_words(words_1, words_2, words_3):
"""Take 2 to 3 lists of phrases and return 1 list of all combinations
of those lists"""
...
Python Find All Combinations of 2 ...
by https://www.google.com/accounts/o8/id?id=AItOawnF67iZ7jkF06oL0iuNySBalihADlPMJ-8,
March 15, 2011 01:15,
6 refactorings, tagged with lists, combinations
/// Rotates a list by one place forward.
let rotate lst =
List.tail lst @ [List.head lst]
...
Haskell Combination and Permutation...
by https://www.google.com/accounts/o8/id?id=AItOawnKDqoH-UcpVbtsfwJBE19476rOzrIq9wU,
December 21, 2010 01:26,
No refactoring, tagged with permutations, f#, combinations
Note: code is actually F#.
...
The code should accept thre...