Allow upper case names for now
Instead it makes sense to make package.elm-lang.org disallow publishing
of packages with capital letters. This way things keep working for 0.15
people.
commit72992bb1c8864120b425f8997f9b5140205ef547
authorEvan Czaplicki <info@elm-lang.org>
dateTue 17 Nov 2015, 20:09 (11 years ago)
parent7a2b6bc
src/Elm/Package.hs−3
@@ -74,9 +74,6 @@ validate str =
7474 else if elem '_' str then
7575 Left "Underscores are not allowed in package names."
7676
77− else if any Char.isUpper str then
78− Left "Upper case characters are not allowed in package names."
79−
8077 else if not (Char.isLetter (head str)) then
8178 Left "Package names must start with a letter."
8279