summaryrefslogtreecommitdiff
path: root/spec/03-types.md
diff options
context:
space:
mode:
authorjhegedus42 <jhegedus42@gmail.com>2014-12-30 01:14:24 +0200
committerjhegedus42 <jhegedus42@gmail.com>2014-12-30 01:14:24 +0200
commitc0183aefc95f1028fce2a4018f8dd0f0976e7eee (patch)
tree02e522accb4cc9ec7142bf3550d7a0800dd11b92 /spec/03-types.md
parent841389bc6f879031a8d36a5ffcca5e3c0e1fdcef (diff)
downloadscala-c0183aefc95f1028fce2a4018f8dd0f0976e7eee.tar.gz
scala-c0183aefc95f1028fce2a4018f8dd0f0976e7eee.tar.bz2
scala-c0183aefc95f1028fce2a4018f8dd0f0976e7eee.zip
Update 03-types.md
Using U_i instead of T_i is confusing. See http://stackoverflow.com/questions/26803244/is-this-a-typo-in-the-scala-language-specification-on-parameterized-types
Diffstat (limited to 'spec/03-types.md')
-rw-r--r--spec/03-types.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/03-types.md b/spec/03-types.md
index d067d45ab2..5658e15f44 100644
--- a/spec/03-types.md
+++ b/spec/03-types.md
@@ -167,8 +167,8 @@ SimpleType ::= SimpleType TypeArgs
TypeArgs ::= ‘[’ Types ‘]’
```
-A parameterized type $T[ U_1 , \ldots , U_n ]$ consists of a type
-designator $T$ and type parameters $U_1 , \ldots , U_n$ where
+A parameterized type $T[ T_1 , \ldots , T_n ]$ consists of a type
+designator $T$ and type parameters $T_1 , \ldots , T_n$ where
$n \geq 1$. $T$ must refer to a type constructor which takes $n$ type
parameters $a_1 , \ldots , a_n$.