mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?"
This commit is contained in:
@@ -2,6 +2,8 @@ resource PeaceRes = {
|
||||
|
||||
param Punct = FullStop | QuestMark | ExclMark ;
|
||||
|
||||
param SForm = SPos | SNeg | SQuest ;
|
||||
|
||||
oper
|
||||
stop, quest, excl : Str -> { s : Str; p : Punct } ;
|
||||
stop x = { s = x; p = FullStop } ;
|
||||
|
||||
Reference in New Issue
Block a user