The predefined traits such as those described in Section 2.1 are handy shortcuts for commonly used types. However, the Traits package also provides facilities for defining complex or customized traits:
· Subclassing of traits
· The Trait() factory function
· Predefined or custom trait handlers