Description
Find cycles in periodic functions (and lists)
Description
Any function f :: a -> a where the type a has finitely many values eventually has to be cyclic when iterated from some initial a.
This module provides a number of common algorithms and utilities to identify and work with such cycles.