Content deleted Content added
→Example: changed the tilde character in <~ to be more readable. |
Cybercobra (talk | contribs) Reverted good faith edits by 24.227.222.61 (talk): Inaccurate (assuming the example code was accurately transcribed). (TW) |
||
Line 70:
The <code>::=</code> rule defines a new [[algebraic data type]], a [[data type]] with only data constructors.
The <code><
The <code>$=</code> type rule indicates that there is also a theory label, with the functor <code>person</code>, for a theory that defines the characteristic properties of the <code>person</code> type - implements the <code>person</code> interface - in terms of four given parameters of types string, <code>day</code>, <code>Gender</code>, and string.
|