1
0
forked from GitHub/gf-rgl

make mkPN more portable across languages

This commit is contained in:
Krasimir Angelov
2022-08-02 16:07:27 +02:00
parent a181ab36a4
commit 607f4d68ae
4 changed files with 26 additions and 3 deletions

View File

@@ -132,6 +132,7 @@ oper
mkPN : overload {
mkPN : Str -> PN ;
mkPN : Str -> Gender -> PN ;
-- Sometimes a common noun can be reused as a proper name, e.g. "Bank"
@@ -435,6 +436,7 @@ mkVoc s = lin Voc (ss s) ;
mkPN = overload {
mkPN : Str -> PN = regPN ;
mkPN : Str -> Gender -> PN = regGenPN ;
mkPN : N -> PN = nounPN
} ;