preperations for Val of params

This commit is contained in:
aarne
2008-12-08 12:49:03 +00:00
parent de8bea8d69
commit 75ecc5f97b
2 changed files with 2 additions and 2 deletions

View File

@@ -492,7 +492,7 @@ term2term fun cgr env@(labels,untyps,typs) tr = case tr of
_ | tr == x -> t
_ -> GM.composSafeOp (mkBranch x t) tr
valNum (Val _ _ i) = EInt $ toInteger i
valNum (Val _ _ i) = traceD (show i) $ EInt $ toInteger i ----Val
valNum tr = maybe (valNumFV $ tryFV tr) EInt $ Map.lookup tr untyps
where
tryFV tr = case GM.appForm tr of