Why can julia packages not be called Exam-ple.jl



I just noticed that this fails:


I found no reference to a naming restriction of julia packages. It is a bit odd that this restriction be in place, given that the “dash” convention is quite standard for github repositories. For example, if this were a julia package

it could never be cloned?


Normally you use packages like this:

using Exam-ple

I.e. you try to load a module named as a package, and this second line is not a valid Julia expression.


I see! Makes sense.