Commits

Anonymous committed 4202ca0 Merge

Merged in hseeberger/typeclassopedia.bitbucket.org (pull request #1)

  • Participants
  • Parent commits 654ca49, 46fb382

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
 		}
 }