Skip to content

Instantly share code, notes, and snippets.

@ericelliott
Created September 6, 2016 01:37
Show Gist options
  • Select an option

  • Save ericelliott/8f0dba63356483d4184468d52d005141 to your computer and use it in GitHub Desktop.

Select an option

Save ericelliott/8f0dba63356483d4184468d52d005141 to your computer and use it in GitHub Desktop.
Trace debugging
const trace = curry((label, x) => {
console.log(`== ${ label }: ${ x }`);
return x;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment