Extracted from Pike v7.4 release 117 at 2004-07-26.
pike.ida.liu.se
[Top]
predef::
ADT
ADT.Relation
ADT.Relation.Binary

Method ADT.Relation.Binary()->filter_destructively()


Method filter_destructively

object filter_destructively(function f)

Description

Filters the entries in the relation destructively, removing all entries for which the filtering function f returns false. The function f gets two arguments: the left and the right value for each entry in the relation.