Skip to content

Instantly share code, notes, and snippets.

@hallettj
Created February 21, 2010 21:50
Show Gist options
  • Save hallettj/310570 to your computer and use it in GitHub Desktop.
Save hallettj/310570 to your computer and use it in GitHub Desktop.
scala> val f: (Any*) => Unit = { (s, n) => println(s * n) }
<console>:4: error: wrong number of parameters; expected = 1
val f: (Any*) => Unit = { (s, n) => println(s * n) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment