forked from GitHub/gf-rgl
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