Predicates can be used as conditions defining the execution of an operation. Hence, predicates must be connected to
the "test" input of an OMIF box,
to a function that has a test argument .
If a given property or a relation is verified by a predicate, the operation is performed.
Here, we want to delete floats from a list with list-filter. List-filter rejects or passes elements from a list, depending on the predicate taken as argument. It has three default inputs :
|
The floatp predicate and the "reject" option have been assigned to list-filter, so that floats are rejected.
|
A predicate can be a function on "lambda" mode. |