scala PartialFunction with isDefinedA and apply not working

前端 未结 0 638
别那么骄傲
别那么骄傲 2021-02-05 13:43

I am new in scala, i was trying PartialFunctions

code:

object MyScalaApp extends App {
    val r = new PartialFunction[Int, Int]  
    { 

        // Apply         


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