On Feb 17, 9:20 am, Raffael Cavallaro <raffaelcavall...@gmail.com>
wrote:
> On Feb 17, 9:56 am, mikel <mev...@mac.com> wrote:
>
> >  I'll let the level of interest
> > guide me in whether I package them for more general distribution.
>
> I am very interested in both of these subsystems and would love to see
> you package them as clojure.contrib libraries. Hopefully others feel
> the same and we'll see an announcement for them here soon.
>
> Best of luck with model and generic functions, and with clojure in
> general.

Good to know; thanks. I think model just needs the packaging done, but
I should probably allow a little more time in use to shake out any
unanticipated problems.

Generic functions work, but probably want a reimplementation to
improve their efficiency and to add some amenities. Probably they want
a little syntactic sugar, and likely they want to be built on a Java
Class like MultiFn rather than on closures. Also, their dispatch
mechanism knows about models, and I think I want to change that for
two reasons: first, dispatching on models can be costly, so it should
probably be optional, which entails an extension to the current
generic functions that would allow users to specify the dispatch
protocol; second, the use of models in the dispatch is the only
dependency between the two subsystems, and I just think it would be
nice to completely separate them. If I can devise a suitably
straightforward way to parameterize the dispatch algorithm for generic
functions that would then become easy to accomplish.

I will say that I am quite enjoying having generic functions and a
composable object model that are completely orthogonal to one another.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to