forked from GitHub/gf-core
added mkCard to resource 1.4
This commit is contained in:
@@ -1618,6 +1618,13 @@ incomplete resource Constructors = open Grammar in {
|
|||||||
mkListNP : NP -> ListNP -> ListNP = ConsNP
|
mkListNP : NP -> ListNP -> ListNP = ConsNP
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
mkCard = overload {
|
||||||
|
mkCard : Numeral -> Card
|
||||||
|
= NumNumeral ;
|
||||||
|
mkNum : Digits -> Card -- 51
|
||||||
|
= NumDigits ;
|
||||||
|
} ;
|
||||||
|
|
||||||
|
|
||||||
------------ for backward compatibility
|
------------ for backward compatibility
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user