List
morphir.sdk.List
object List
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
List.type
Members list
Type members
Types
Value members
Concrete methods
Combine two lists, combining them with the given function. If one list is longer, the extra elements are dropped.
Combine two lists, combining them with the given function. If one list is longer, the extra elements are dropped.
Type parameters
- A
-
the type of the first list
- B
-
the type of the second list
- R
-
the type of the resulting list
Value parameters
- mapping
-
a mapping function
- xs
-
the first list
- ys
-
the second list
Attributes
- Returns
-
a list containing the combined elements of list1 and list2 using the mapping function.
def map4[A, B, C, D, R](mapping: A => B => C => D => R)(as: List[A])(bs: List[B])(cs: List[C])(ds: List[D]): List[R]
def map5[A, B, C, D, E, R](mapping: A => B => C => D => E => R)(as: List[A])(bs: List[B])(cs: List[C])(ds: List[D])(es: List[E]): List[R]
In this article