Hi All,
I've found extending-protocol to hold on to a references to records when
they're redefined.
example (defprotocol ToExtend
(foo [this]))
ToExtend
example (defrecord Extender1 [])
example.Extender1
example (extend-protocol ToExtend Extender1 (foo [this] extender1))
nil
example
Michael Ossareh ossa...@gmail.com writes:
You'll notice in the map returned after the second (extend-protocol)
that :impls has example.Extender1 listed twice. I assume this is
because they're different records, though the fact
that they share the same name is confusing (hence the example of
On Wed, Feb 2, 2011 at 18:49, Alex Osborne a...@meshy.org wrote:
Michael Ossareh ossa...@gmail.com writes:
You'll notice in the map returned after the second (extend-protocol)
that :impls has example.Extender1 listed twice. I assume this is
because they're different records, though the