I am reading Martin Morgan's notes on reference classes, and on slide 7, he uses setMethod to define the show function without setting it previously as a generic using setGeneric.
Why is this allowed? Is there a list of methods that are declared as generic for all reference classes, including show?
showis already a generic function:A list of generics in your parent environment can be obtained by calling
getGenerics: