Merge ClassFeature and Prop
A Prop
(property) is a list of methods. A ClassFeature
is a list of methods and constructors. The contents of these lists are all ClassEntity
s. There should be a general way to bundle class entities together like this, like a properly thought out version of:
data ClassContents = CCEntity ClassEntity | CCList [ClassContents]
type ClassFeature = ClassContents -- For compatibility.
type Prop = ClassContents -- For compatibility.