3 ms·
You don’t have to use implicits though, but you’d be super happy they’re there should you ever be in a situation where they’re helpful
by asimpletune 5y ago
You don’t have to use implicits though, but you’d be super happy they’re there should you ever be in a situation where they’re helpful
- diroussel 5y agoDoesn’t a monad or for comprehension use implicits to find the right CanBuildFrom? Are you suggesting to use scala without using for comprehensions? Or do you mean you don’t need to write your own? It’s been a long time since I wrote scala, so may be getting it wrong.
- joshlemer 5y agoCanBuildFrom is gone in the 2.13 collections rewrite
- valenterry 5y agoNo it does not. A for-comprehension just requires that map/flatMap methods are available. No implicits or CanBuildFrom needed.