In scala, how to make type class working for Aux pattern?

后端 未结 0 664
北海茫月
北海茫月 2021-01-22 09:49

Here is a simple example:

  trait Base {

    type Out
    def v: Out
  }

  object Base {

    type Aux[T] = Base { typ         


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