| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
ADT
ADT.Relation
ADT.Relation.Binary

# Method ADT.Relation.Binary()->map()

Method map

  `array map(function f)`

Description

  Maps every entry in the relation. The function f gets two arguments: the left and the right relation value. Returns an array with the return values of f for each and every mapped entry.

  Note: since the entries in the relation are not ordered, the returned array will have its elements in no particular order. If you need to know which relation entry produced which result in the array, you have to make that information part of the value that f returns.