f::nub (public)

 f::nub xs

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

removes duplicates from xs

Parameters:
xs

Partial Call Graph (max 5 caller/called nodes):
%3 f::not_elem_p f::not_elem_p (public) f::nub f::nub f::nub->f::not_elem_p

Testcases:
No testcase defined.
Source code:
    set result {}
    foreach x $xs {
        if { [not_elem_p $x $result] } {
            lappend result $x
        }
    }
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: