Next: Iterating through all elements
Up: Higher Order Functions
Previous: Selecting elements from a
The abstraction `locate' returns the value `true' if the given list
contains an element fulfilling the condition defined by the predicate
Searching for an element in a given list: `locate'
The abstraction `locatex' difers from `locate' only by returning the
element found in the list instead of `true' if it was found.
Georg P. Loczewski