0

For example if I define a function like

def add5: Int => Int = (x: Int) => x + 5

is it correct to say that (x:Int) => x + 5 is a literal of the function type Int => Int?

Fred_03
  • 11
  • 2

0 Answers0