Using lazy evaluation functions in varargs

Posted by Jonhnny Weslley on Stack Overflow See other posts from Stack Overflow or by Jonhnny Weslley
Published on 2010-04-11T22:07:46Z Indexed on 2010/04/11 22:13 UTC
Read the original article Hit count: 477

Filed under:
|
|

What is wrong is the following method?

def someMethod(funcs: => Option[String]*) = { ... }

© Stack Overflow or respective owner

Related posts about scala

Related posts about varargs