PeakSet
The interior positions that rise then fall.
PeakSet(Permutation)
Details
- Takes a `Permutation` and returns a `Finset` — a typed map, so a wrong carrier is a type error rather than a wrong answer.
- Its size is the Peaks statistic, exactly as DescentSet's is Descents.