1

I wonder, what's the difference between

def foo(f: () => Int)

and

def foo(f: Unit => Int)

?

Incerteza
  • 32,326
  • 47
  • 154
  • 261

0 Answers0