gfi linearization with flags -table -record -term

This commit is contained in:
aarne
2007-11-08 16:37:30 +00:00
parent 23b2826a44
commit 44df29f52d
4 changed files with 87 additions and 3 deletions

View File

@@ -20,6 +20,10 @@ lookLincat :: GFCC -> CId -> CId -> Term
lookLincat gfcc lang fun =
lookMap TM fun $ lincats $ lookMap (error "no lang") lang $ concretes gfcc
lookParamLincat :: GFCC -> CId -> CId -> Term
lookParamLincat gfcc lang fun =
lookMap TM fun $ paramlincats $ lookMap (error "no lang") lang $ concretes gfcc
lookType :: GFCC -> CId -> Type
lookType gfcc f =
fst $ lookMap (error $ "lookType " ++ show f) f (funs (abstract gfcc))