Re:Java's records, Lombok's data, and Kotlin's data classes
by valenterry on Friday May 07, 2021 @09:04PM
(#27082647)
No it does not. A for-comprehension just requires that map/flatMap methods are available. No implicits or CanBuildFrom needed.
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.