Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

remdq

remdq( 
g_x 
l_arg 
) 
=> l_result

Description

Removes all top-level elements that are identical to a SKILL object using eq from a list. This is a destructive removal, which means that the original list itself is modified. Therefore, any other reference to that list will also see the changes.

remdq uses eq instead of equal for comparison.

Arguments

g_x

Any SKILL object to be removed from the list.

l_arg

List from which to remove g_x.

Value Returned

l_result

Returns l_arg modified so that all top-level elements eq to g_x are removed.

Examples

y = '(a b x d f x g)    
=> (a b x d f x g)
remdq('x y)             
=> (a b d f g)
y                       
=> (a b d f g)

Related Topics

remd

remove

remq


Return to top
 ⠀
X