trace-fn for anonymous functions