Preguntas con la etiqueta [typeclass]

Lista typeclass preguntas

Escribí esto en Scala y no se compila: class TestDoubleDef{ def foo(p:List[String]) = {} def foo(p:List[Int]) = {} } el compilador notifica: [error] double definition: [error] method foo:(List[String])Unit and [error]