You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: