File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Scala and the fly likes Partially applied functions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Scala
Bookmark "Partially applied functions?" Watch "Partially applied functions?" New topic
Author

Partially applied functions?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9349
    
    2

In the following example,



Now, when I call this function,



Is the fileEndMatch is used as a partially applied function? How would the underscores be filled? How would Scala know which value to put in the underscore? There are two of them in the case above!


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Partially applied functions?