I have:
sum.scala
def sum(a : Int, b : Int) = println(a+b)
and I want to call that function from the CLI by doing something like:
scala sum.scala.sum(3, 4)
Is that even possible?, and if so what is the syntax of the command that I need to type in the CLI to make it work?
I want to do it without creating an object to wrap the function.