mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-12 05:16:02 -06:00
add an explict lin Int do disambiguate the overloading
This commit is contained in:
@@ -51,7 +51,7 @@ lin
|
||||
intYear = symb ;
|
||||
|
||||
-- : Int -> Monthday ; -- 31th (March)
|
||||
intMonthday i = symb { s = i.s ++ "日" } ;
|
||||
intMonthday i = symb (lin Int {s = i.s ++ "日"}) ;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user