@hackage / data-findcycle

Find cycles in periodic functions (and lists)

Latest0.1.2.0

About

Metadata

  • Last updated , by rafl
  • License MIT
  • Maintained by: florian.ragwitz@gmail.com

  • Lottery factor: 1

Links

Installation

Readme

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.