arrow-core-data / arrow.typeclasses / Monad / apTap

apTap

open fun <A, B> Kind<F, A>.apTap(fb: Kind<F, B>): Kind<F, A>

Given two actions, it performs them sequentially. Discards the result of the second action.

This is equivalent to <* in Haskell.

Do you like Arrow?

Arrow Org
<