Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. oldExp f g h i j (Cte c) = f c
  2. foldExp f g h i j (Suma e1 e2) = g (foldExp f g h i j e1) (foldExp f g h i j e2)
  3. foldExp f g h i j (Mult e1 e2) = h (foldExp f g h i j e1) (foldExp f g h i j e2)
  4. foldExp f g h i j (Var s) = i s
  5. foldExp f g h i j (Let s e1 e2) = j s (foldExp f g h i j e1) (foldExp f g h i j e2))) e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement