Migrate kotlin sources, maven projects and stdlib to new lambda syntax

This commit is contained in:
Stanislav Erokhin
2015-04-01 16:36:44 +03:00
parent e0988de707
commit b703f59e04
74 changed files with 136 additions and 140 deletions
@@ -219,7 +219,7 @@ fun generators(): List<GenericFunction> {
returns("List<Pair<T, R>>")
body {
"""
return merge(other) { (t1, t2) -> t1 to t2 }
return merge(other) { t1, t2 -> t1 to t2 }
"""
}
}
@@ -256,7 +256,7 @@ fun generators(): List<GenericFunction> {
returns("List<Pair<T, R>>")
body {
"""
return merge(array) { (t1, t2) -> t1 to t2 }
return merge(array) { t1, t2 -> t1 to t2 }
"""
}
}
@@ -273,7 +273,7 @@ fun generators(): List<GenericFunction> {
returns("Sequence<Pair<T, R>>")
body {
"""
return MergingSequence(this, sequence) { (t1, t2) -> t1 to t2 }
return MergingSequence(this, sequence) { t1, t2 -> t1 to t2 }
"""
}
}