Hi,

Am 16.06.2009 um 23:22 schrieb Chris Dean:

What's the best way to augment the function named count (.et.al.) to
provide the same functionality as db-count ?

It seems like I should be able to use multimethods, but don't see how
that would work.

The functions themselves could be implemented
as multimethods. But that would have a performance
impact.

However at the moment we have some hardcoded
types in the Java implementations of the functions.
Maybe the Java implementations in RT could fallback
to some -method version? Then you just implement
seq-method to get seq for your datastructure.

The known things (vector, map, whatever), would
still have the same speed.

This was already done for print.

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to