Skip to content

Instantly share code, notes, and snippets.

@timvisher
Created December 2, 2013 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timvisher/7755910 to your computer and use it in GitHub Desktop.
Save timvisher/7755910 to your computer and use it in GitHub Desktop.

I often want to trace a transformation of a value.

Right now this forces me to fall back to a do block or something else.

What I want is:

(trace count collection)
=1> 365
=>  collection

This would conflict with the keyword argument to trace.

The easiest thing to do would probably be to add a new macro like ftrace or something that takes a function and an optional label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment