Added a small note to help explain tag's in older code.

This commit is contained in:
Joe Pletcher 2012-01-25 00:48:51 -08:00 committed by Marijn Haverbeke
parent b02b65a547
commit edd86126f7
1 changed files with 3 additions and 1 deletions

View File

@ -1058,7 +1058,9 @@ accessed through the components `x` and `y`, and laid out in memory with the
An _enumeration item_ simultaneously declares a new nominal
[enumerated type](#enumerated-types) as well as a set of *constructors* that
can be used to create or pattern-match values of the corresponding enumerated
type.
type. Note that `enum` previously was refered to as a `tag`, however this
definition has been deprecated. While `tag` is no longer used, the two are
synonymous.
The constructors of an `enum` type may be recursive: that is, each constructor
may take an argument that refers, directly or indirectly, to the enumerated