Scala

From F# to Scala – implicits

Read the whole series: Part 1 — type infer­ence Part 2 — traits Part 3 — case class/object (ADTs) Part 4 — apply & unap­ply func­tions Part 5 — implic­its <- you’re here Hav­ing looked at case class and extrac­tors recent­ly, the next log­i­cal thing would be par­tial func­tions. Since Andrea point­ed me to a real­ly well arti­cle on the sub­ject I don’t think …

From F# to Scala – implic­itsRead More »

From F# to Scala — apply & unapply functions

Read the whole series: Part 1 — type infer­ence Part 2 — traits Part 3 — case class/object (ADTs) Part 4 — apply & unap­ply func­tions <- you’re here Part 5 — implic­its Last time around we looked at Scala’s Case Class in depth and how it com­pares to F#‘s Dis­crim­i­nat­ed Unions. F# also has Active Pat­terns, which is a very pow­er­ful lan­guage …

From F# to Scala — apply & unap­ply func­tionsRead More »

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

Read the whole series: Part 1 — type infer­ence Part 2 — traits Part 3 — case class/object (ADTs) <- you’re here Part 4 — apply & unap­ply func­tions Part 5 — implic­its Con­tin­u­ing 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 cre­ate Alge­bra­ic Data …

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

From F# to Scala — traits

Read the whole series: Part 1 — type infer­ence Part 2 — traits <- you’re here Part 3 — case class/object (ADTs) Part 4 — apply & unap­ply func­tions Part 5 — implic­its Con­tin­u­ing on from where we left off with type infer­ence last time around, let’s look at a lan­guage fea­ture in Scala that doesn’t exist in F# — traits. Scala has …

From F# to Scala — traitsRead 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