Advertisement
wacka_facka

Untitled

Mar 26th, 2023
2,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sums_Of_Subsets list = sums_list list []
  2.   where sums_list original_list result_list | null original_list = result_list
  3.         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