Preconditions are new in 1.1. The actual code also works in older Clojure versions. (defn dot-product [& matrix] {:pre [(apply == (map count matrix))]}
確定! 回上一頁