As a holiday gift to myself I am reading Programming in Scala from cover 
to cover. I've gotten as far as the pattern matching stuff and there's a 
discussion of partial functions. PiS says: "In general, you should try 
to work with complete functions whenever possible..."

But I notice that the Lift code is filled with partial functions. 
They're all over the place.

What is the benefit of using partial functions that outweighs the 
detriment of possible runtime errors? I'm trying to understand why 
partial functions might be useful.

Thanks!
Chas.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to