Skip to content

CyclicShift

Rotate the word one place to the left.

CyclicShift(Permutation)

Domain: Combinatorial maps

Details
  • Takes a `Permutation` and returns a `Permutation` — a typed map, so a wrong carrier is a type error rather than a wrong answer.

Examples