if (Character.isLowerCase(entryPointString.charAt(0))) {
//the module name was not supplied
return QualifiedName.make(CAL_Prelude.MODULE_NAME, entryPointString);
}
final ModuleName maybeModuleName = ModuleName.maybeMake(entryPointString);
//the function name was not supplied
if (maybeModuleName != null) {
return QualifiedName.make(maybeModuleName, "main");
} else {
return QualifiedName.make(CAL_Prelude.MODULE_NAME, "main");
}
}
ModuleName maybeModuleName = ModuleName.maybeMake(entryPointString.substring(0, periodPos));
String unqualifiedName = entryPointString.substring(periodPos + 1);
if (maybeModuleName != null) {
return QualifiedName.make(maybeModuleName, unqualifiedName);
} else {