Abhijit Sarkar Abhijit Sarkar - 5 months ago 53
Scala Question

Scala package style difference


is cumulative, so
package a.b
can also be written as

package a
package b

Is there any difference between these or is it just a matter of programming style?


The difference is that with

package a
package b

everything from package a is in scope, not just from a.b.