scala/scala — pull request #99 by dcsobral (2012-01-13 17:07:43+00:00)
Title: Explain Function1 vs PartialFunction

Add an explanation in PartialFunction as to how it differs from Function1,
with examples of what it can do that Function1 cannot.

Make it explicit that calling apply may throw exceptions in both of them,
even in the case where isDefinedAt returns true.