|
definition: |
isValidModuleName :: String -> Bool isValidModuleName = all isModId . split (=='.') where isModId [] = False isModId (c:cs) = isAlpha c && all (\x -> isAlphaNum x || x `elem` "_'") cs |
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Is the given string a valid module name? |
|
failfree: |
() |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{() |-> {.._#lambda508}}
|
|
name: |
isValidModuleName |
|
precedence: |
no precedence defined |
|
result-values: |
{.._#lambda508}
|
|
signature: |
String -> Prelude.Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |