```scala
(1 to 1000).map { element =>
  ...
}
```