Hello,

I'm still fairly new to Clojure but what I can say so far is that it
is awesome :-)

I'm currently implementing a cache as an atom that gets updates from
an external application. I expose the cache items to clients via a
webservice using compojure. Actually I return a list for each
request.

What I want to do now is to allow the consumers (clients) to apply a
function to the list (with map) that my webservice returns.  The
definition of the function is saved in a file. So at runtime of my
application (no restart of the application is allowed) , I want to
read a file with the defintion of the function, apply the function
with map to the list the clients request from my webservice and return
the new list.

I think this task is pretty simple to accomplish with clojure. But how
would I do that? I think I need to eval the code somehow dynamically
and use it.

Thanks.

- finbeu

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