r-lib/rex

Making register idempotent?

robertzk opened this issue · 2 comments

Making register idempotent?

Sorry, I wrote this on my phone.

What do you think of making register return its first argument unchanged, so we can write

fn <- register(function(x) ...)

Nevermind, this doesn't work because register needs the name.