Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tyoc213
Created July 27, 2012 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyoc213/3190852 to your computer and use it in GitHub Desktop.
Save tyoc213/3190852 to your computer and use it in GitHub Desktop.
Currying or partial apply of scala from java method.


@myview(user, routes.Turns.list _)




@(user: User, linkRoute: linkRoute: (Int, String, String, String) => _)
@* How to call a reference of a function "linkRoute" that comes from father.scala.html *@
@linkRoute(newPage, sortBy, order, currentFilter)



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment