Aliasing for varargs method

Hi,

I wish to create an alias for a method which takes a vararg parameter. However, I’m going wrong somewhere. I understand this is a sort of currying.

I’m sure it’s a simple one!

scala> def aQuiteLongName(args: String*) = None // a computation of some sort
aQuiteLongName: (args: String*)None.type

scala> def short = aQuiteLongName _
short: Seq[String] => None.type

scala> short(“as”, “dd”)
:25: error: too many arguments (2) for method apply: (v1: Seq[String])None.type in trait Function1
short(“as”, “dd”)

There’s no such thing as a function value that takes varargs. See http://tpolecat.github.io/2014/06/09/methods-functions.html