Array.map

Applies a function to all the elements of an array, and returns their result in a new array.

Signature

fun [A, B](Array[A] self) map(
    (A) -> (B) map_function
) -> Array[B]

fun map[B](
    self[],
    (A) -> (B) map_function
) -> Array[B]thp

fun multi_def
| ("prosor prosor", 322) -> Float
{
fmt.Println("prosor prosor %d", 322)
}
| (String a, Int b) -> Float
{

}
| (String a) -> Float
{

}thp