diff options
author | Daniel C. Sobral <dcsobral@gmail.com> | 2012-01-13 14:57:32 -0200 |
---|---|---|
committer | Daniel C. Sobral <dcsobral@gmail.com> | 2012-01-13 15:10:39 -0200 |
commit | 545680b2746cc0c7ae658f6c66e68e763b0b58c9 (patch) | |
tree | a5f1e66a618b638766db0c170621210c3cfc1b3f /gitignore.SAMPLE | |
parent | b0de5f13329aa24752fae079c50cc0584471379e (diff) | |
download | scala-545680b2746cc0c7ae658f6c66e68e763b0b58c9.tar.gz scala-545680b2746cc0c7ae658f6c66e68e763b0b58c9.tar.bz2 scala-545680b2746cc0c7ae658f6c66e68e763b0b58c9.zip |
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.
Diffstat (limited to 'gitignore.SAMPLE')
0 files changed, 0 insertions, 0 deletions