Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コードを考えてみましょう:
val some: OneCaseClass Either TwoCaseClass = ??? val r = some.left.map(_.toString)
Serializable with Product with Either[String, TwoCaseClass]の代わりになぜ r型なのEither[String, TwoCaseClass]ですか?
Serializable with Product with Either[String, TwoCaseClass]
Either[String, TwoCaseClass]
左の値のみをマップする方法は?