arrow-fx-coroutines / arrow.fx.coroutines.stream.concurrent / Queue / imap

imap

open fun <B> imap(f: (A) -> B, g: (B) -> A): Queue<B>

Returns an alternate view of this Queue where its elements are of type B, given two functions, (A) -> B and (B) -> A.

Do you like Arrow?

Arrow Org
<