(deftype MyLazySeq [thunk-mem] clojure.lang.Seqable (seq [_] (if (fn? @thunk-mem) (swap! thunk-mem (fn [f] (seq (f))))) @thunk-mem) ;Implementing ISeq is ...
確定! 回上一頁