i.e. replace all uses of x <- new_class("x", ...) and x <- new_generic("x", ...)
If we're considering exporting it, we might want consider making it work slightly more like the pipe, so the object name is inserted as the first argument on the RHS, rather than always the name argument.
i.e. replace all uses of
x <- new_class("x", ...)andx <- new_generic("x", ...)If we're considering exporting it, we might want consider making it work slightly more like the pipe, so the object name is inserted as the first argument on the RHS, rather than always the
nameargument.