mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +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
|
True => isIdentTrailing xs
|
||||||
|
|
||||||
checkPackageName : List Char -> Bool
|
checkPackageName : List Char -> Bool
|
||||||
checkPackageName [] = False
|
checkPackageName [] = True
|
||||||
checkPackageName (x::xs) = isIdentStart x &&
|
checkPackageName (x::xs) = isIdentStart x &&
|
||||||
isIdentTrailing xs
|
isIdentTrailing xs
|
||||||
|
Loading…
Reference in New Issue
Block a user