tuple-gen: Generating all n-tuples without getting stuck in one infinity

[ bsd3, data, library ] [ Propose Tags ]

Generating tuples like this: [(x, y) | x <- [1..], y <- [1..]] generates tuples that change only in the second position. This library uses an automata to generate all tuples whose sum of digits is constant. This constant is increased and thereby all tuples are generated.

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0, 1.1, 2.0
Dependencies base (>=4 && <5) [details]
License BSD-3-Clause
Author Tillmann Vogt
Maintainer Tillmann.Vogt@rwth-aachen.de
Category Data
Uploaded by TillmannVogt at 2011-01-18T18:58:26Z
Distributions NixOS:2.0
Downloads 2299 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]