scalacheat
scalacheat copied to clipboard
Pass seq to function accepting varargs
val n = sum(args:_*)
Reference http://stackoverflow.com/a/1832288
val n = sum(args:_*)
Reference http://stackoverflow.com/a/1832288