f::cons (public)

 f::cons x xs

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Inserts x at the front of the list xs.

Parameters:
x (required)
xs (required)
Returns:
list

Testcases:
functional_api
Source code:
    list $x {*}$xs
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: