Main is not a valid foundation datatype name
This commit is contained in:
parent
254795cb40
commit
46ebf76c01
@ -53,7 +53,7 @@ main = do
|
|||||||
putStr $(codegen "site-arg")
|
putStr $(codegen "site-arg")
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
let isUpperAZ c = 'A' <= c && c <= 'Z'
|
let isUpperAZ c = 'A' <= c && c <= 'Z'
|
||||||
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s)
|
sitearg <- prompt $ \s -> not (null s) && all validPN s && isUpperAZ (head s) && s /= "Main"
|
||||||
|
|
||||||
putStr $(codegen "database")
|
putStr $(codegen "database")
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user