Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sums_Of_Subsets list = sums_list list []
- where sums_list original_list result_list | null original_list = result_list
- sums_list original_list result_list = sums_list (tail original_list) (result_list ++ [(sum original_list)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement