Commits

Anonymous committed 46fb382

Fix for example code on slide 25.

Comments (0)

Files changed (1)

 implicit val OptionFunctor = new Functor[Option] {
 	def map[A, B](fa: Option[A])(f: A => B) : Option[B] = 
 		fa match {
-			case Some a => Some(f(a))
+			case Some(a) => Some(f(a))
 			case None => None
 		}
 }