On Friday, July 27, 2012 12:06:33 PM UTC-7, Vinzent wrote: > > robert-hooke actualy doesn't work with multimethods afaik. You can try my > new library (https://github.com/dnaumov/hooks), but it's alpha (no docs > yet, sorry).
Yes, from the robert-hooke readme, "Adding hooks to a defmulti is discouraged as it will make it impossible to add further methods. Hooks are meant to extend functions you don't control; if you own the target function there are obviously better ways to change its behaviour.". What got me thinking about :before and :after was the question of how to add a lightweight rules system to an application. Do you think hooks are appropriate here? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
