diff src/mono_print.sml @ 1199:c316ca3c9ec6

Pushing policies through
author Adam Chlipala <adamc@hcoop.net>
date Sun, 04 Apr 2010 12:29:34 -0400
parents 7a31e0cf25e9
children 648e6b087dfb
line wrap: on
line diff
--- a/src/mono_print.sml	Thu Apr 01 17:23:17 2010 -0400
+++ b/src/mono_print.sml	Sun Apr 04 12:29:34 2010 -0400
@@ -412,6 +412,12 @@
                         cons]
     end
 
+fun p_policy env pol =
+    case pol of
+        PolQuery e => box [string "query",
+                           space,
+                           p_exp env e]
+
 fun p_decl env (dAll as (d, _) : decl) =
     case d of
         DDatatype x => box [string "datatype",
@@ -506,6 +512,9 @@
                                string "=",
                                space,
                                p_exp env e2]
+      | DPolicy p => box [string "policy",
+                          space,
+                          p_policy env p]
 
                           
 fun p_file env file =