R does not complain when one runs:
library(magrittr)
f <- function(x){x} %>% f
(but running f(1)
throws a C stack error).
However, isn't it equivalent to:
f <- f(function(x){x})
which throws the error f not found
?
Why does the first command not throw an error?