RosettaCodeData/Task/Permutations/Groovy/permutations-1.groovy

2 lines
49 B
Groovy

def makePermutations = { l -> l.permutations() }