mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
variants in gfcc generation
This commit is contained in:
@@ -404,6 +404,7 @@ term2term cgr env@(labels,untyps,typs) tr = case tr of
|
||||
T (TComp typ) ts -> comp $ V typ (map (comp . snd) ts) ---- should...
|
||||
T (TTyped typ) ts -> comp $ V typ (map (comp . snd) ts) ---- should
|
||||
V typ ts -> V typ (map comp ts)
|
||||
S tb (FV ts) -> FV $ map (comp . S tb) ts
|
||||
S (V typ ts) v0 -> err error id $ do
|
||||
let v = comp v0
|
||||
return $ maybe t (comp . (ts !!) . fromInteger) $ Map.lookup v untyps
|
||||
|
||||
Reference in New Issue
Block a user