The latter is unnecessary, since you can just optionT.mapT(customAction). It's also detrimental because overloading interferes with type inference and cognitive load. I strongly encourage removing it or at the very least re-naming to something more semantically explicit.
In the
Dal
trait,customAction
is overloaded:and
The latter is unnecessary, since you can just
optionT.mapT(customAction)
. It's also detrimental because overloading interferes with type inference and cognitive load. I strongly encourage removing it or at the very least re-naming to something more semantically explicit.