On Feb 17, 9:20 am, Raffael Cavallaro <
raffaelcavall...@gmail.com>
wrote:
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.