(use '(clojure set)) (defn powerset [input result] (if (nil? (first input)) (concat result #{}) (set (reduce concat (for [x input] (let [set-of-x #{x} ...
確定! 回上一頁