Create a gist now

Instantly share code, notes, and snippets.

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