Skip to content

Commit cee157e

Browse files
committed
Rephrase limit22.md
1 parent 302e37a commit cee157e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/docs/reference/dropped-features/limit22.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ layout: doc-page
33
title: "Dropped: Limit 22"
44
---
55

6-
The limits of 22 for the maximal number of parameters of function types
7-
and the maximal number of fields in tuple types have been dropped.
6+
The limits of 22 for the maximal number of parameters of function types and the
7+
maximal number of fields in tuple types have been dropped.
88

9-
Functions can now have an arbitrary number of
10-
parameters. Functions beyond `Function22` are erased to a new trait
11-
`scala.FunctionXXL` and tuples beyond `Tuple22` are erased to a new trait `scala.TupleXXL`.
12-
Both of these are implemented using arrays.
9+
* Functions can now have an arbitrary number of parameters. Functions beyond
10+
`Function22` are erased to a new trait `scala.FunctionXXL`
11+
12+
* Tuples can also have an arbitrary number of fields. Tuples beyond `Tuple22`
13+
are erased to a new trait `scala.TupleXXL`. Furthermore, they support generic
14+
operation such as concatenation and indexing.
1315

14-
Tuples can also have an arbitrary number of fields. Furthermore, they support generic operation such as concatenation and indexing.
16+
Both of these are implemented using arrays.

0 commit comments

Comments
 (0)