mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
type computed in table T [...]
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
resource MorphoFre = CommonRomance, ResFre **
|
resource MorphoFre = CommonRomance, ResFre **
|
||||||
open PhonoFre, Prelude, Predef in {
|
open PhonoFre, Prelude, Predef in {
|
||||||
|
|
||||||
flags optimize=all ;
|
flags optimize=noexpand ;
|
||||||
|
|
||||||
--2 Front vowels
|
--2 Front vowels
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -386,10 +386,10 @@ computeTermOpt rec gr = comput True where
|
|||||||
---- return $ V ty (map snd cs')
|
---- return $ V ty (map snd cs')
|
||||||
return $ T i cs'
|
return $ T i cs'
|
||||||
V ty cs -> do
|
V ty cs -> do
|
||||||
|
ty' <- comp g ty
|
||||||
-- if there are no variables, don't even go inside
|
-- if there are no variables, don't even go inside
|
||||||
cs' <- if (null g) then return cs else mapM (comp g) cs
|
cs' <- if (null g) then return cs else mapM (comp g) cs
|
||||||
---- return $ V ty (map snd cs')
|
return $ V ty' cs'
|
||||||
return $ V ty cs'
|
|
||||||
|
|
||||||
T i cs -> do
|
T i cs -> do
|
||||||
pty0 <- getTableType i
|
pty0 <- getTableType i
|
||||||
|
|||||||
Reference in New Issue
Block a user