RosettaCodeData/Task/Combinations/Groovy/combinations-5.groovy

2 lines
40 B
Groovy

def comb1 = { m, n -> comb(m, (1..n)) }