Scala

From F# to Scala – implicits

Read the whole series: Part 1 — type inference Part 2 — traits Part 3 — case class/object (ADTs) Part 4 — apply & unapply functions Part 5 — implicits <- you’re here Having looked at case class and extractors recently, the next logical thing would be partial functions. Since Andrea pointed me to a really well article on the subject I don’t think …

From F# to Scala – implicits Read More »

From F# to Scala – apply & unapply functions

Read the whole series: Part 1 — type inference Part 2 — traits Part 3 — case class/object (ADTs) Part 4 — apply & unapply functions <- you’re here Part 5 — implicits Last time around we looked at Scala’s Case Class in depth and how it compares to F#’s Discriminated Unions. F# also has Active Patterns, which is a very powerful language …

From F# to Scala – apply & unapply functions Read More »

From F# to Scala – case class/object (ADTs)

Read the whole series: Part 1 – type inference Part 2 – traits Part 3 – case class/object (ADTs) <- you’re here Part 4 – apply & unapply functions Part 5 – implicits Continuing on from where we left off with traits last time around, let’s look at Scala’s case class/object which can be used to create Algebraic Data …

From F# to Scala – case class/object (ADTs) Read More »

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 …

From F# to Scala – traits Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close