scala/scala — pull request #100 by dcsobral (2012-01-13 17:11:57+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.

Closes SI-5370.