RosettaCodeData/Task/Combinations/TXR/combinations.txr

5 lines
88 B
Text
Raw Permalink Normal View History

2015-11-18 06:14:39 +00:00
(defun comb-n-m (n m)
(comb (range* 0 n) m))
2014-04-02 16:56:35 +00:00
2015-11-18 06:14:39 +00:00
(put-line `3 comb 5 = @(comb-n-m 5 3)`)