aspose 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

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Languages » Scala
Bookmark "Partially applied functions?" Watch "Partially applied functions?" New topic

Partially applied functions?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9763

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:
subject: Partially applied functions?