mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 08:42:11 +03:00
Allowing for an empty package name.
This commit is contained in:
parent
8e24f12e60
commit
ba560de6c3
@ -112,6 +112,6 @@ interactive = do
|
||||
True => isIdentTrailing xs
|
||||
|
||||
checkPackageName : List Char -> Bool
|
||||
checkPackageName [] = False
|
||||
checkPackageName [] = True
|
||||
checkPackageName (x::xs) = isIdentStart x &&
|
||||
isIdentTrailing xs
|
||||
|
Loading…
Reference in New Issue
Block a user