mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-10 19:52:50 -06:00
opers in cnc
This commit is contained in:
@@ -218,7 +218,7 @@ checkCncInfo gr m (a,abs) (c,info) = do
|
||||
checkPrintname gr mpr
|
||||
return (c,CncCat (Yes typ') mdef' mpr)
|
||||
|
||||
_ -> return (c,info)
|
||||
_ -> checkResInfo gr (c,info)
|
||||
|
||||
where
|
||||
env = gr
|
||||
@@ -740,6 +740,12 @@ checkEqLType env t u trm = do
|
||||
all (\ (l,a) ->
|
||||
any (\ (k,b) -> alpha g a b && l == k) ts) rs
|
||||
|
||||
(ExtR r s, ExtR r' s') -> alpha g r r' && alpha g s s'
|
||||
|
||||
(ExtR r s, t) -> alpha g r t || alpha g s t
|
||||
|
||||
|
||||
|
||||
-- the following say that Ints n is a subset of Int and of Ints m
|
||||
(App (Q (IC "Predef") (IC "Ints")) (EInt n),
|
||||
App (Q (IC "Predef") (IC "Ints")) (EInt m)) -> m >= n
|
||||
|
||||
Reference in New Issue
Block a user