Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasstucki committed May 28, 2019
1 parent baec08b commit aaafde6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/reference/dropped-features/limit22.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ The limits of 22 for the maximal number of parameters of function types
and the maximal number of fields in tuple types have been dropped.

Functions can now have an arbitrary number of
parameters. Functions beyond Function22 are represented with a new trait
`scala.FunctionXXL`.
parameters. Functions beyond Function22 are erased to a new trait
`scala.FunctionXXL` and tuples beyond Tuple22 are erased to a new trait `scala.TupleXXL`.
Both of these are implemented using arrays.

Tuples can also have an arbitrary number of fields. Furthermore, they support generic operation such as concatenation and indexing.

0 comments on commit aaafde6

Please sign in to comment.