diff src/monoize.sml @ 259:d1b679dbbc25

Monoize HAVING
author Adam Chlipala <adamc@hcoop.net>
date Sun, 31 Aug 2008 15:36:15 -0400
parents 40c33706d887
children 645d0e8da643
line wrap: on
line diff
--- a/src/monoize.sml	Sun Aug 31 15:32:31 2008 -0400
+++ b/src/monoize.sml	Sun Aug 31 15:36:15 2008 -0400
@@ -637,7 +637,15 @@
                                                                                     (map (fn (x', _) =>
                                                                                              sc (x ^ "." ^ x'))
                                                                                          xts)) grouped)
-                                               ]
+                                               ],
+
+                                           (L'.ECase (gf "Having",
+                                                      [((L'.PPrim (Prim.String "TRUE"), loc),
+                                                        sc ""),
+                                                       ((L'.PWild, loc),
+                                                        strcat loc [sc " HAVING ", gf "Having"])],
+                                                      {disc = s,
+                                                       result = s}), loc)
                               ]), loc),
                      fm)
                   | _ => poly ()