Seite 1 von 1

Scala - this: Visitor[Double] ⇒ what does it means?

Verfasst: 7. Jul 2018 13:22
von AizazZaidee
Hi,
Here is a strange syntax looks like incomplete line of code... anyone please explain me what does it means?

Thanks

Re: Scala - this: Visitor[Double] ⇒ what does it means?

Verfasst: 7. Jul 2018 15:08
von AizazZaidee
I have found out they are Scala self types, https://docs.scala-lang.org/tour/self-types.html if anyone else has same question.