mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-10-30 10:33:18 -06:00
(Ara) Better checks if a Num or Ord is a numeral
This commit is contained in:
1 parent
8db210fd97
commit
7b13eb0ade
6 files changed
+39
-37
No files matched your search
@@ -26,8 +26,8 @@ lin
|
||||
SymbS sy = sy ;
|
||||
|
||||
|
||||
SymbOrd n = {s = \\_,_,_ => n.s ; n = None } ;
|
||||
SymbNum n = SymbOrd n ** { n = ThreeTen } ; ----IL
|
||||
SymbOrd n = {s = \\_,_,_ => n.s ; n = One ; isNum = False } ;
|
||||
SymbNum n = SymbOrd n ** { n = ThreeTen ; isNum = True } ; ----IL
|
||||
|
||||
lincat
|
||||
|
||||
|
||||
Reference in new issue
Block a user