f::span (public)
f::span p xs
Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl
Splits a list using take_while and drop_while. Usage span p xs = (takeWhile p xs, dropWhile p xs)
- Parameters:
- p (required)
- xs (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- functional_api
Source code: list [take_while $p $xs] [drop_while $p $xs]XQL Not present: Generic, PostgreSQL, Oracle