On Fri, Sep 9, 2011 at 6:46 AM, Meikel Brandmeyer (kotarak) <m...@kotka.de> 
wrote:
> As for the code problem: modify the send-and-eval functions of your
> environments to also include the source code in a meta tag. So the dev env
> would basically send and eval: (defn ^{:source "(defn foo ...)"} foo [] ..)
> Instead of just the defn form itself. That way you could inspect the source
> with (:source (meta #'foo)).

Oh, yeah. That's a great idea, even outside the context of swarm
coding as one of the complaints leveled at repl-centric development is
that there's no audit trail. Time to brush off serializable-fn I
suppose.

-Phil

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