Maps the set of first values in the set of tuples that satisfy the given predicate, against a mapper function.
Sibling function of MapRelateFirst, which operates on “relations” instead of
“functions.”
Example:
predicate employs(Company company, Person person) { ... }
// Selects the ages of employed People.
select Tp2<Company, Person, employs/2>
::MapSecond<int, getAge/1>
::find()
Import path
import qtil.fn.generated.Tp