protocol
A
protocol
defines a set of method signatures.
Every Clojure method implements a protocol signature
deftype
(mutable fields)
defrecord
(immutable fields, map interface)
extend-type
관련 문서
Clojure
protocol