Do we have `flatTap` ?
# arrow
a
Do we have
flatTap
?
s
Do you mean
flatMap
?
If so, yes, IIRC
Option
,
Either
,
IO
, etc do have
map
and
flatMap
, etc.
a
Nop,
flatTap
is a common utility to do
flatMap{ <http://xxx.as|xxx.as>(it) }
so we execute a function but keeping the original value
s
It is just for a side-effect and returns the receiver?
p
yep, coming in 0.10.X
it’s called effectM in 0.9.X