I'm wondering what the rationale is for using multimethods vs. cond,
and where it's best to use either? Multimethods seem to be very
seldom used, usually to dispatch on type, but I can see advantages to
using data to dynamically define only the methods you need, rather
than
2010/2/11 Bryce :
> I'm wondering what the rationale is for using multimethods vs. cond,
> and where it's best to use either? Multimethods seem to be very
> seldom used, usually to dispatch on type, but I can see advantages to
> using data to dynamically define only the me
On Thu, Feb 11, 2010 at 10:27 AM, Laurent PETIT wrote:
> 2010/2/11 Bryce :
> > I'm wondering what the rationale is for using multimethods vs. cond,
> > and where it's best to use either? Multimethods seem to be very
> > seldom used, usually to dispatch on ty
I've seen or done with them.
-Jeff
On Feb 11, 4:27 pm, Laurent PETIT wrote:
> 2010/2/11 Bryce :
>
> > I'm wondering what the rationale is for using multimethods vs. cond,
> > and where it's best to use either? Multimethods seem to be very
> > seldom used
hi,
the expression problem
(http://en.wikipedia.org/wiki/Expression_Problem) talks about some of
the relevant trade-offs.
sincerely.
--
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
Note t
On Feb 11, 4:04 pm, Bryce wrote:
> I'm wondering what the rationale is for using multimethods vs. cond,
> and where it's best to use either? Multimethods seem to be very
> seldom used, usually to dispatch on type, but I can see advantages to
> using data to dynamically d