-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
Milestone
Description
It would be useful for packages to be able to extend attributes. Package foo could register a foo::bar attribute to do something about a function, a class, whatever ...
I have one use case in mind for this in dplyr where it would be nice to be able to register hybrid handlers as:
// [[dplyr::handler(hitchhiker)]]
Result* hitchhiker_handler( SEXP, const LazySubsets&, int ){
return new Hitchhiker ;
}
See the hybrid evaluation vignette for context.