1

I wonder, what's the difference between

def foo(f: () => Int)

and

def foo(f: Unit => Int)

?

Incerteza
  • 27,981
  • 42
  • 142
  • 242

0 Answers0