@Ken Wesson: do you mean something like this:
https://gist.github.com/747571

My fists stab at this technique looks kinda ugly though...
Is there a way to somehow embed the trampoline inside the recursive definition?
Is there a way to get the actual dispatch function other than
(.dispatchFn multimethod)  ?

--Robert McIntyre


On Sun, Dec 19, 2010 at 10:52 AM, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> Am 19.12.2010 um 16:46 schrieb Ken Wesson:
>
>> If we had a (resolve-method multi & args) that resolved dispatch and
>> then returned a fn that would call the method with those same args --
>> so ((resolve-method multi & args)) <=> (multi & args) -- then this
>> could be used with trampoline in cases like Sunil is describing.
>
> It's called get-method.
>
> Sincerely
> Meikel
>
> --
> 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 that posts from new members are moderated - please be patient with your 
> first post.
> 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

-- 
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 that posts from new members are moderated - please be patient with your 
first post.
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