This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9345
    
    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?
 
Similar Threads
lexical search using Pattern and Matcher class
store multiple files in memory instead of disk
java.util.regex Class Matcher/Pattern
Please help me check this regex
Pattern Matching