Why not try MP (monadic programming) in Clojure? ... [(add-prob [d [x p]] (update d x (fnil #(+ % p) 0)))] (reduce add-prob {} (p/-extract ...
確定! 回上一頁