mirror of
https://github.com/apple/pkl.git
synced 2026-02-25 11:54:57 +01:00
Remove broken Collection.transpose method (#1437)
This commit is contained in:
@@ -2959,14 +2959,6 @@ abstract external class Collection<out Element> extends Any {
|
||||
/// ```
|
||||
abstract function zip<Other>(coll: Collection<Other>): Collection<Pair<Element, Other>>
|
||||
|
||||
/// Transposes this two-dimensional collection of collections.
|
||||
///
|
||||
/// The *n*th row of the resulting collection corresponds to the
|
||||
/// *n*th column of this collection.
|
||||
/// Throws if an element of this collection is not itself a collection.
|
||||
/* Note: Can't specify return type precisely. */
|
||||
abstract function transpose(): Collection
|
||||
|
||||
/// Converts the elements of this collection to strings and concatenates them inserting
|
||||
/// [separator] between elements.
|
||||
abstract function join(separator: String): String
|
||||
|
||||
Reference in New Issue
Block a user