Allen Rohner <aroh...@gmail.com> writes:

> I started playing with the idea of a hooks library for Clojure,
> similar to Emacs hooks.
>
> You can see the code at http://gist.github.com/250575
>
> Does this library have the Tao of Clojure?
>
> If hooks aren't a clojure-y way of doing things, what is?

Have you seen James Reeves' decorate library?  It's serves a similar purpose 
but allows
implementation in an arguably more functional-style:

http://github.com/weavejester/decorate

Of course if all you want are side-effects then that's exactly what
hooks do and they're probably as good a way as any of doing it.

-- 
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