f::cycle (public)
f::cycle n xs
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
Example: f::cycle 4 {1 2 3} = {1 2 3 1 2 3 1 2 3 1 2 3}
- Parameters:
- n (required)
- xs (required)
- Returns:
- concatenated list of n copies of xs
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: set result {} for {set i 0} {$i<$n} {incr i} { lappend result {*}$xs } return $resultXQL Not present: Generic, PostgreSQL, Oracle