CreatingRhythms-0.0.27.0
Copyright(c) Eric Bailey 2025
LicenseMIT
Maintainereric@ericb.me
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Rhythm.FoldSequences

Description

Fold sequences.

Synopsis

Documentation

foldSequence :: Int -> Int -> Int -> [Int] Source #

Generate fold sequences from given number of terms, number of bits, and function number \(\{0,\dotsc,2^m-1\}\).

>>> foldSequence 7 4 2
[0,1,1,0,0,0,1]