Hey Jeff,
Craig McDaniels wrote a little trace library that does on-demand
function wrapping that does pretty much what you're looking for.
Look here:
http://groups.google.com/group/clojure/browse_thread/thread/3ea8777880231e18/6fd1b352ac1a6744?lnk=gst&q=trace#6fd1b352ac1a6744
I implemented a m
That's a good point. I hadn't thought about how wrapping all functions
might be detrimental because of side-effect issue you mentioned.
I guess I was thinking of something I could turn on and off easily.
But even then, like you mentioned, just wrapping all the functions
probably wouldn't be very
I'd be a little concerned about wholesale wrapping of functions, purely from
the perspective that you'll be wrapping mostly side-effect free functions
with functions that do have side-effects. That sounds like something you'd
want to do consciously, where you know it will be safe, and where the
res
Hey, I'm working on a small to medium sized, hopefully commercial
product in clojure. I'll be providing an API to clients, and I'm also
going to have to make some performance guarantees about a few of my
functions. Because of that (as well as a few other reasons), I'm very
interested interested in