Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val lmls = List(Some(List("Ha", "Ha")))
- // val lmls = List(Some(List("Ha", "Ha"), None))
- val p0 = lmls.map(_.map(_.map(_.map(_ => 'd'))))
- println(p0) // List(Some(List(dd, dd)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement