1
0
forked from GitHub/gf-core

added a note on refreshing variables in AbsCompute

This commit is contained in:
aarne
2008-10-10 16:01:07 +00:00
parent 8555c65c36
commit a643cc522d

View File

@@ -56,7 +56,7 @@ beta vv c = case c of
subst :: [CId] -> Subst -> Expr -> Expr
subst xs g e = case e of
EAbs x b -> EAbs x (subst (x:xs) g e)
EAbs x b -> EAbs x (subst (x:xs) g e) ---- TODO: refresh variables
EApp f a -> EApp (substg f) (substg a)
EVar x -> maybe e id $ lookup x g
_ -> e