Re: conform to interface for related multi-methods?

2013-04-28 Thread Gary Verhaegen
Could you perhaps elaborate on what you would like to do that protocols do not support? On 26 April 2013 18:58, Steven Degutis sbdegu...@gmail.com wrote: I found that I want to have multiple multi-methods, but grouped together, much like an interface. Specifically, I have already-existing

Re: conform to interface for related multi-methods?

2013-04-28 Thread John D. Hume
On Fri, Apr 26, 2013 at 11:58 AM, Steven Degutis sbdegu...@gmail.comwrote: I found that I want to have multiple multi-methods, but grouped together, much like an interface. There's no syntax for grouping multimethods, but wouldn't it be good enough to put the defmulti forms near one another?

conform to interface for related multi-methods?

2013-04-26 Thread Steven Degutis
I found that I want to have multiple multi-methods, but grouped together, much like an interface. Specifically, I have already-existing objects, which I want to call the method on, so just like defmulti/defmethod. But I basically want to group several of them together since they're very related,