fix #3822: desugaring case command in arrow notation
authorRoss Paterson <ross@soi.city.ac.uk>
Tue, 15 Jun 2010 22:51:10 +0000 (22:51 +0000)
committerRoss Paterson <ross@soi.city.ac.uk>
Tue, 15 Jun 2010 22:51:10 +0000 (22:51 +0000)
commit48f550f99f6f82f26de79529cf256b1e0a2b8e88
tree19f06e26d24c79f3542019ba0933f19e330587c8
parent2cf29639c5e6f120e50d9806110bb9077c8451b6
fix #3822: desugaring case command in arrow notation

Get the set of free variables from the generated case expression:
includes variables in the guards and decls that were missed before,
and is also a bit simpler.
compiler/deSugar/DsArrows.lhs