Guest User

Untitled

a guest
Jul 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. replace (Fun y e)
  2. | (x == y) = (Fun y e')
  3. | otherwise = (Fun a e'')
  4. where
  5. a = fresh(freeVars(new)) ++ fresh(freeVars(e)) ++ x
  6. e' = subst e y new
  7. e'' = subst e x new
Add Comment
Please, Sign In to add comment