• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Partially applied functions?

 
Joe Harry
Ranch Hand
Posts: 10124
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