gestalt icon indicating copy to clipboard operation
gestalt copied to clipboard

Bring back `as_fn()` (function-declaration interpreter)

Open egnha opened this issue 5 years ago • 0 comments

Bring back as_fn(), in modified form:

as_fn(x, y, ... ~ body)  # fn(x, y, ... ~ body)
as_fn(~ foo(.))          # fn(. ~ foo(.))
as_fn(..f = foo)         # foo
as_fn(..f = "foo")       # match.fun("foo")

(Backport to nofrills?)

egnha avatar Dec 07 '18 05:12 egnha