Hi
I would like to create methods of a record without defining a protocol:
(defprotocol ComponentProtocol
(view [x])
(render [x]))
(defrecord Component [...]
ComponentProtocol
(view [x] ...)
(render[x] ...))
=> instead define record as follows:
(defrecord Component [...]
(view [x] ...)
(render [x] ...))
regards
-Taoufik