data-findcycle

Find cycles in periodic functions (and lists)

https://github.com/rafl/data-findcycle

Version on this page:0.1.0.0
Stackage Nightly 2025-04-24:0.1.0.0
Latest on Hackage:0.1.1.0

See all snapshots data-findcycle appears in

MIT licensed by Florian Ragwitz
Maintained by [email protected]
This version can be pinned in stack with:data-findcycle-0.1.0.0@sha256:950762489618573faaed661b33d961ee36b2c028c4e9c5789f39fe2090426d14,1948

Module documentation for 0.1.0.0

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.

Changes

Revision history for data-findcycle

0.1.0.0 – 2025-03-08

  • First version. Released on an unsuspecting world.