guh.me - gustavo's personal blog

Rock the JVM! Advanced Scala and Functional Programming

1. A taste of advanced Scala

2. Advanced FP

4.31 Parallel utilities

5. Implicits

case class Person(name: String) {
  def greet = s"Hi, my name is $name!"
}
implicit def fromStringToPerson(str: String): Person = Person(str)
println("Peter".greet) // println(fromStringToPerson("Peter"))