mapSecond
Returns a new Pair whose second component is the result of transform applied to the current second component.
The first component is carried over unchanged.
Parameters
transform
mapping applied to the second component.
Returns a new Triple whose second component is the result of transform applied to the current second component.
The other components are carried over unchanged.
Parameters
transform
mapping applied to the second component.