Skip to content

Instantly share code, notes, and snippets.

@tyoc213
Created July 27, 2012 22:42
Show Gist options
  • 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