diff src/cjr_print.sml @ 1370:44a12a321150

queryString and effectfulUrl
author Adam Chlipala <adam@chlipala.net>
date Sun, 26 Dec 2010 17:29:03 -0500
parents 02fc16faecf3
children bf58ca871c00
line wrap: on
line diff
--- a/src/cjr_print.sml	Sun Dec 26 15:52:56 2010 -0500
+++ b/src/cjr_print.sml	Sun Dec 26 17:29:03 2010 -0500
@@ -66,6 +66,7 @@
     case #1 t of
         TDatatype (Default, _, _) => true
       | TFfi ("Basis", "string") => true
+      | TFfi ("Basis", "queryString") => true
       | _ => false
 
 fun p_typ' par env (t, loc) =
@@ -2696,6 +2697,7 @@
                                                                 space,
                                                                 case #1 t of
                                                                     TFfi ("Basis", "postBody") => string "uw_getPostBody(ctx)"
+                                                                  | TOption (TFfi ("Basis", "queryString"), _) => string "uw_queryString(ctx)"
                                                                   | _ => unurlify false env t,
                                                                 string ";",
                                                                 newline]) ts),