I'm trying to define an array of numbers with the last being a function. It'll probably be better to give an example:
def myArrayFunc(foo:String, bar:Array[Int[Function1]]) // ?
myArrayFunc("foo", (1,2,3 (myFunction)))
Is this possible using Scala? If so, how?
Thanks in advance.