How do I flatten a nested NEL of custom type in Scala?

前端 未结 0 1660
故里飘歌
故里飘歌 2021-01-29 11:45

I have something like:

List(CustomType(NonEmptyList(Error(Bar(b,4,c)))), CustomType(NonEmptyList(Error(Bar(a,6,z)))))

I\'m trying to flatten it t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题