Perform subsititutions one after another.
authorMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 23 Jun 2009 08:37:35 +0000 (10:37 +0200)
committerMatthijs Kooijman <m.kooijman@student.utwente.nl>
Tue, 23 Jun 2009 09:47:00 +0000 (11:47 +0200)
commitcccb87b1cdff39f45148b525bd8e426b6bf667ad
tree95510e2c351b829a8d853493da9c917802a37222
parentfa8761cd4d31ca41f79de1bd0861a1552c9274f8
Perform subsititutions one after another.

Previously, multiple substitutions would be done in a single run of
substExpr, but that did not properly handle the case where one of the
to-be-substituted values appears in the to-be-substituted values. For
example, when performing the substitution [(a, b), (b, c)] on the
expression a, we would get b (while we want to get c).
NormalizeTools.hs