diff options
Diffstat (limited to 'h26.hs')
-rw-r--r-- | h26.hs | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1,5 +0,0 @@ -combination :: Int -> [a] -> [[a]] -combination 0 _ = [[]] -combination _ [] = [] -combination c (x:xs) = (map (x:) (combination (c-1) xs)) ++ (combination c xs) - |