Here's how you define your record: (defrecord MyType [a b]). Note that in Clojure you don't typically define "methods" within your record ...
確定! 回上一頁