Scala - method call syntax

Viewed 6358

I am a beginning practitioner in Scala and I saw a few different syntax for calling a method. Some are nice, as ignoring parenthesis for a parameterless method, or ignoring the dot as in

1 to 10

but some really puzzle me. for instance:

breakable { ... }

this is simply a method call right? Can I also do that for more than one parameter or a parameter which is not a parameterless function?

Thanks

2 Answers
Related