author | huffman |
Sun, 28 Feb 2010 12:59:21 -0800 | |
changeset 35470 | 13f3675c9644 |
parent 35469 | 6e59de61d501 |
child 35471 | 94bb9f59d4e9 |
--- a/src/HOLCF/Tools/Domain/domain_constructors.ML Sun Feb 28 09:22:53 2010 -0800 +++ b/src/HOLCF/Tools/Domain/domain_constructors.ML Sun Feb 28 12:59:21 2010 -0800 @@ -1089,7 +1089,7 @@ fun one_case_trans (pat, (con, args)) = let val cname = Constant (syntax con); - val pname = Constant (syntax con ^ "_pat"); + val pname = Constant (syntax pat); val ns = 1 upto length args; val xs = map (fn n => Variable ("x"^(string_of_int n))) ns; val ps = map (fn n => Variable ("p"^(string_of_int n))) ns;