This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Partially applied functions?

 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic