@@ -1651,7 +1651,7 @@ compile-time, remain constant during execution, and may reside in read-only
1651
1651
memory.
1652
1652
1653
1653
There are five primary kinds of item: modules, functions, iterators, objects and
1654
- types .
1654
+ type definitions .
1655
1655
1656
1656
All items form an implicit scope for the declaration of sub-items. In other
1657
1657
words, within a function, object or iterator, declarations of items can (in
@@ -1662,8 +1662,8 @@ the item's @emph{path name} within the module namespace is qualified by the
1662
1662
name of the enclosing item. The exact locations in which sub-items may be
1663
1663
declared is given by the grammar. @xref {Ref.Gram }.
1664
1664
1665
- Functions, iterators, objects and types may be @emph {parametrized } by
1666
- type. Type parameters are given as a comma-separated list of identifiers
1665
+ Functions, iterators, objects and type definitions may be @emph {parametrized }
1666
+ by type. Type parameters are given as a comma-separated list of identifiers
1667
1667
enclosed in square brackets (@code {[] }), after the name of the item and before
1668
1668
its definition. The type parameters of an item are part of the name, not the
1669
1669
type of the item; in order to refer to the type-parametrized item, a
@@ -1946,10 +1946,10 @@ variables to initial values.
1946
1946
@node Ref.Item.Type
1947
1947
@subsection Ref.Item.Type
1948
1948
@c * Ref.Item.Type:: Items defining the types of values and slots.
1949
- @cindex Types
1949
+ @cindex Type definitions
1950
1950
1951
- A @dfn {type } defines a set of possible values in
1952
- memory. @xref {Ref.Type }. Types are declared with the keyword
1951
+ A @dfn {type definition } defines a set of possible values in
1952
+ memory. @xref {Ref.Type }. Type definitions are declared with the keyword
1953
1953
@code {type }. Every value has a single, specific type; the type-specified
1954
1954
aspects of a value include:
1955
1955
0 commit comments