mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
missing case in partial evaluation of + fixed
This commit is contained in:
@@ -195,7 +195,8 @@ computeTermOpt gr = comput True where
|
|||||||
---- foldr1 C (map K (str2strings (glueStr v (str a)))) | v <- x']
|
---- foldr1 C (map K (str2strings (glueStr v (str a)))) | v <- x']
|
||||||
,return $ Glue x y
|
,return $ Glue x y
|
||||||
]
|
]
|
||||||
(C u v,_) -> comp g $ C u (Glue v y) -- (u ++ v) + y
|
(C u v,_) -> comp g $ C u (Glue v y) -- (u ++ v) + y
|
||||||
|
(_,C u v) -> comp g $ C (Glue x u) v -- x ++ (u ++ v)
|
||||||
|
|
||||||
_ -> do
|
_ -> do
|
||||||
mapM_ checkNoArgVars [x,y]
|
mapM_ checkNoArgVars [x,y]
|
||||||
|
|||||||
Reference in New Issue
Block a user