tupleRight<B> method

IO<(A, B)> tupleRight<B>(
  1. B b
)

Creates an IO that will return the value of this IO tupled with b, with b taking the second element of the tuple.

Implementation

IO<(A, B)> tupleRight<B>(B b) => map((a) => (a, b));