Hi, On Jul 24, 7:56 am, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> Here is an example from clojure-contrib where Chouser uses explicit use of > :arglists to fine-tune the public API signature of macro deferror: Note, that this is also useful for multimethods, since they don't have an explicit argument vector. (And it cannot be derived from the dispatch function.) (defmulti shutdown-reactor "Shuts down the given reactor. Queries environment conditions for a decision if provided by the caller." {:arglists '([reactor] [reactor flogiston-pressure] [reactor flogiston-pressure temperature)} (fn shutdown-reactor-dispatch [reactor & _] (type reactor))) 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 -~----------~----~----~----~------~----~------~--~---