Only special ref objects are mutable in Clojure (via STM). ... I would create a setter/getter interface (via definterface) and implement it on your deftype ...
確定! 回上一頁