Trait based inheritance

This is largely based upon #9 and #91, but fleshed out to make an actual inheritance proposal.
What is the `n` here?