From F# to Scala – traits
Read the whole series: Part 1 — type inference Part 2 — traits <- you’re here Part 3 — case class/object (ADTs) Part 4 — apply & unapply functions Part 5 — implicits Continuing on from where we left off with type inference last time around, let’s look at a language feature in Scala that doesn’t exist in F# – traits. Scala has …