could this just be one line?

```
      for (v <- vs; w <- ws) yield (v, w)
```