1
0
forked from GitHub/gf-core

simplify the Term again

This commit is contained in:
krasimir
2009-10-27 15:45:05 +00:00
parent f0ab7463e8
commit 7656ff29b5
6 changed files with 0 additions and 10 deletions

View File

@@ -436,7 +436,6 @@ term2term fun cgr env@(labels,untyps,typs) tr = case tr of
R rs -> R [(mkLab i, (Nothing, t2t t)) |
(i,(l,(_,t))) <- zip [0..] (GM.sortRec (unlock rs))]
P t l -> r2r tr
PI t l i -> EInt $ toInteger i
T (TWild _) _ -> error $ (render (text "wild" <+> ppTerm Qualified 0 tr))
T (TComp ty) cs -> t2t $ V ty $ map snd cs ---- should be elim'ed in tc