Mixins for classes
Problem
You have a few utility methods that you want to include in a number of different classes.
Solution
Use a mixOf factory function that generates a mixed superclass for you.
Discussion
This is intended for lightweight mixins. Thus you inherit methods of the base and its ancestors, and those of the mixins, but not those of the ancestors of the mixins. Also, after declaring a mixed class, further changes in the mixins are not reflected.