Advertisement
Guest User

Untitled

a guest
Apr 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. choose2 :: [Int] -> [(Int,Int)]
  2. choose2 [] = []
  3. choose2 (x:xs) = map((,) x) xs ++ choose2 xs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement