On 9/16/18 9:10 PM, Brandon Allbery wrote:
Sort of. A role is a "package" of components available to build classes from. This allows someone to write a sub or method that works for any kind of number by using the role instead of having to write the same thing over and over for every numeric class, or every class representing a non-complex number, etc. There is similarly a role packaging up various operations common to all string-like types, called Stringy.
The light bulb went off. Thank you!