fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

cycle

list.cycle

cycle => Sequence A[Redefinition of  Sequence.cycle][src]
create a list that repeats the current list indefinitely. In case 'list.this'
is 'nil', returns 'nil'
Postcondition
Inherited from Sequence.cycle
post debug: is_empty.as_trit = result.finite

redefines:

0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23