mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
@ -19,6 +19,6 @@ Run a block on each element of input
|
||||
|
||||
Multiplies elements in list
|
||||
```shell
|
||||
> [1 2 3] | each { 2 * $it }
|
||||
> [1 2 3] | each { |it| 2 * $it }
|
||||
```
|
||||
|
||||
|
@ -19,6 +19,6 @@ Run a block on each element of input in parallel
|
||||
|
||||
Multiplies elements in list
|
||||
```shell
|
||||
> [1 2 3] | par-each { 2 * $it }
|
||||
> [1 2 3] | par-each { |it| 2 * $it }
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user