Is there a way to subtract a collection from another one? I can’t seem to find any function that does that.

Here’s what I’m trying to do on the same page:

- Display 4 latest posts – easy.
- Display 4 random posts but
*avoid duplicates*with the posts already displayed in (1).

Essentially, I’m missing the operation `SUBTRACT`

from the listing below.

```
{{ $latest := first 4 (where .Pages "Type" "posts") }}
{{ $randomCandidates := SUBTRACT (where .Pages "Type" "posts") $latest }}
{{ $random := first 4 (shuffle $randomCandidates) }}
```