- $\mathrm{x}<-\mathrm{xs}$: This is the generator expression that iterates over the list $\mathrm{xs}$ and assigns each element to $\mathrm{x}$.
- $\mathrm{p}$ $x$: This is the predicate $\mathrm{p}$ applied to each element $\mathrm{x}$.
To re-express this using
Show more…