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

Data.Tuple.Gen

Synopsis

# Documentation

all2s :: Integral a => [(a, a)]Source

generate all 2-tuples so that the sum of all digits is monotonic increasing

all3s :: Integral a => [(a, a, a)]Source

generate all 3-tuples so that the sum of all digits is monotonic increasing

all4s :: Integral a => [(a, a, a, a)]Source

generate all 4-tuples so that the sum of all digits is monotonic increasing

all5s :: Integral a => [(a, a, a, a, a)]Source

generate all 5-tuples so that the sum of all digits is monotonic increasing

all6s :: Integral a => [(a, a, a, a, a, a)]Source

generate all 6-tuples so that the sum of all digits is monotonic increasing

all7s :: Integral a => [(a, a, a, a, a, a, a)]Source

generate all 7-tuples so that the sum of all digits is monotonic increasing

all8s :: Integral a => [(a, a, a, a, a, a, a, a)]Source

generate all 8-tuples so that the sum of all digits is monotonic increasing

all9s :: Integral a => [(a, a, a, a, a, a, a, a, a)]Source

generate all 9-tuples so that the sum of all digits is monotonic increasing

all10s :: Integral a => [(a, a, a, a, a, a, a, a, a, a)]Source

generate all 10-tuples so that the sum of all digits is monotonic increasing

all2sFrom :: Integral a => (a, a) -> [(a, a)]Source

all3sFrom :: Integral a => (a, a, a) -> [(a, a, a)]Source

all4sFrom :: Integral a => (a, a, a, a) -> [(a, a, a, a)]Source

all5sFrom :: Integral a => (a, a, a, a, a) -> [(a, a, a, a, a)]Source

all6sFrom :: Integral a => (a, a, a, a, a, a) -> [(a, a, a, a, a, a)]Source

all7sFrom :: Integral a => (a, a, a, a, a, a, a) -> [(a, a, a, a, a, a, a)]Source

all8sFrom :: Integral a => (a, a, a, a, a, a, a, a) -> [(a, a, a, a, a, a, a, a)]Source

all9sFrom :: Integral a => (a, a, a, a, a, a, a, a, a) -> [(a, a, a, a, a, a, a, a, a)]Source

all10sFrom :: Integral a => (a, a, a, a, a, a, a, a, a, a) -> [(a, a, a, a, a, a, a, a, a, a)]Source