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
With function1.scala uncommented, expressions like List(1, 2).void result in errors like:
scala> List(1, 2).void
1 |List(1, 2).void
|^^^^^^^^^^
|Found: List[Int]
|Required: ?{ void: ? }
|Note that implicit extension methods cannot be applied because they are ambiguous;
|both method Function1Monad in package leopards and object ListMonad in package leopards provide an extension method `void` on List[Int]