purrr
purrr copied to clipboard
Implement `compose()` lazily
So we could use compose()
to create function operators like possibly()
, safely()
, etc. It would generate this call:
`_fn3`(`_fn2`(`_fn1`(...)))
Also allow custom names (automatically prefixed with _
) in composed functions.
Connected to #828 — should compose()
evaluate lazily?