pattern-matching as an expression without a prior match -scala

https://www.scala-lang.org/files/archive/spec/2.11/08-pattern-matching.html

https://docs.scala-lang.org/tour/pattern-matching.html

https://danielwestheide.com/blog/2012/12/12/the-neophytes-guide-to-scala-part-4-pattern-matching-anonymous-functions.html

posted on 2018-11-12 00:42  暖风的风  阅读(138)  评论(0编辑  收藏  举报

导航