Scalaz is a modular functional programming library for Scala which provides purely functional data structures to complement those from the Scala standard library. This session will provide an introduction to Scalaz and functional programming in Scala. I’ll explain and demonstrate a few data structures from the Scalaz library including OneAnd for non-empty collections, \/ for handling success/failure conditions, and Validation for validating non-dependent data. I will also cover how to simplify operations on types like Future[Option[A]] and Option[Either[A, B]] with OptionT and EitherT. [273]


Comments are closed.