-
bimap<P, Q>(P f(T), Q g(S))
→ $<P, Q>
-
Available on $<T, S>,
provided by the TupleOps extension
apply function f on left value and g on right value and return tuple.
-
mapN<P>(P f(T, S))
→ P
-
Available on $<T, S>,
provided by the TupleOps extension
-
swap()
→ $<S, T>
-
Available on $<T, S>,
provided by the TupleOps extension
returns new tuple swapping left one with right one.