Skip to content

Commit e89cf5e

Browse files
authored
Update auto-parameter-tupling.md
1 parent 95efbb1 commit e89cf5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/auto-parameter-tupling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Say you have a list of pairs
77

88
val xs: List[(Int, Int)]
99

10-
and you want to map `xs` to a list of `Int`s so that eich pair of numbers is mapped to
10+
and you want to map `xs` to a list of `Int`s so that each pair of numbers is mapped to
1111
their sum. Previously, the best way to do this was with a pattern-matching decomposition:
1212

1313
xs map {

0 commit comments

Comments
 (0)