Package: cxml-stp

Function child-position-if

Lambda List

child-position-if (predicate parent &rest args &key from-end (start 0) end 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

Return Value

a node or nil

Details

Searches for a child node of parent that satisfies the test and returns its position.

 

See also