Skip to content

Commit

Permalink
Allowing for an empty package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Mosior committed Jul 26, 2024
1 parent 8e24f12 commit ba560de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Idris/Package/Init.idr
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,6 @@ interactive = do
True => isIdentTrailing xs

checkPackageName : List Char -> Bool
checkPackageName [] = False
checkPackageName [] = True
checkPackageName (x::xs) = isIdentStart x &&
isIdentTrailing xs

0 comments on commit ba560de

Please sign in to comment.