# Foreach Pattern

This example shows how a _foreach pattern_ works in Nickel using
`std.array.map`. A second example combines a yaml-import with the map function.

## Run

```console
nickel export foreach-pattern.ncl
```

Second example:

```console
nickel export foreach-pattern-on-import.ncl
```
