ML: fun sqsum l = foldr (op +) 0 (map (fn x => x * x) l) ... reduce operate in the same order; but there is no clojure-equivalent to foldl.
確定! 回上一頁