bkerby

Untitled

Apr 17th, 2012
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. distribute list =
  2.   map return list :
  3.     (map (\x -> filter (not . null) $ (list \\ x) : return x)
  4.          . filter (\x -> length x > 1) $ subsequences list
  5.          )
Advertisement
Add Comment
Please, Sign In to add comment