Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- choose2 :: [Int] -> [(Int,Int)]
- choose2 [] = []
- choose2 (x:xs) = map((,) x) xs ++ choose2 xs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement