Hi,
I wrote my first sample scala program and it looks like this:
def main(args: Array[String]) {
def f1 = println("aprintln")
println("applying f1")
println((f1 _).apply)
println("done applying f1")
}
The output is
applying f1
aprintln
()
done applying f1
Can someone explain why the extra () appears? I thought just aprintln would appear.
thanks,
Jeff