mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 08:58:55 -06:00
added compounds for LN and PN
This commit is contained in:
@@ -371,6 +371,17 @@ oper
|
||||
} ;
|
||||
} ;
|
||||
|
||||
|
||||
compoundPN : (PN -> Str -> PN)
|
||||
= \pn, adv -> pn ** {
|
||||
s = \\c => pn.s ! c ++ adv
|
||||
} ;
|
||||
|
||||
compoundLN : (LN -> Str -> LN)
|
||||
= \ln, adv -> ln ** {
|
||||
s = \\c => ln.s ! c ++ adv
|
||||
} ;
|
||||
|
||||
mkN2 = overload {
|
||||
mkN2 : N -> N2
|
||||
= \n -> lin N2 (mkFun n nullPrep) ;
|
||||
|
||||
Reference in New Issue
Block a user