Package: cxml-stp

Function filter-children

Lambda List

filter-children (predicate parent &rest args &key from-end (start 0) end count key)

Arguments

  • predicate -- a designator for a function of one argument that returns a generalized boolean
  • parent -- a node
  • from-end -- a generalized boolead
  • start, end -- bounding index designators for parent's child list
  • key -- a designator for a function of one argument, or nil
  • test -- a designator for a function of two arguments, or nil
  • count -- an integer or nil

Return Value

a sequence containing nodes

Details

Return a list of child nodes of parent from which nodes that do not satisfy predicate have been removed.

This function returns the same list as remove-if-not on the result of list-children.
 

See also