mirror of
https://github.com/enso-org/enso.git
synced 2024-12-29 02:12:25 +03:00
Array.map on_problems
This commit is contained in:
parent
85e3e2dea0
commit
b0e811aff2
@ -328,8 +328,8 @@ type Array
|
|||||||
Add 1 to each element of the array.
|
Add 1 to each element of the array.
|
||||||
|
|
||||||
[1, 2, 3].to_array . map +1
|
[1, 2, 3].to_array . map +1
|
||||||
map : (Any -> Any) -> Vector Any
|
map : (Any -> Any) -> Problem_Behavior -> Vector Any
|
||||||
map self function = Vector.map self function
|
map self function on_problems=Problem_Behavior.Report_Error = Vector.map self function on_problems
|
||||||
|
|
||||||
## Applies a function to each element of the array, returning the `Vector`
|
## Applies a function to each element of the array, returning the `Vector`
|
||||||
that contains all results concatenated.
|
that contains all results concatenated.
|
||||||
|
Loading…
Reference in New Issue
Block a user