diff options
author | jhegedus42 <jhegedus42@gmail.com> | 2014-12-30 01:14:24 +0200 |
---|---|---|
committer | jhegedus42 <jhegedus42@gmail.com> | 2014-12-30 01:14:24 +0200 |
commit | c0183aefc95f1028fce2a4018f8dd0f0976e7eee (patch) | |
tree | 02e522accb4cc9ec7142bf3550d7a0800dd11b92 /spec | |
parent | 841389bc6f879031a8d36a5ffcca5e3c0e1fdcef (diff) | |
download | scala-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')
-rw-r--r-- | spec/03-types.md | 4 |
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$. |