diff lib/ur/top.urs @ 1032:5d9f47124c4c

Saving paper decisions
author Adam Chlipala <adamc@hcoop.net>
date Sat, 07 Nov 2009 11:06:38 -0500
parents 5a0f6ec208ce
children b89e3d8731ed
line wrap: on
line diff
--- a/lib/ur/top.urs	Mon Nov 02 15:54:22 2009 -0500
+++ b/lib/ur/top.urs	Sat Nov 07 11:06:38 2009 -0500
@@ -132,12 +132,12 @@
                  -> xml ctx inp [])
              -> transaction (xml ctx inp [])
 
-val queryX' : tables ::: {{Type}} -> exps ::: {Type} -> ctx ::: {Unit}
+val queryX' : tables ::: {{Type}} -> exps ::: {Type} -> ctx ::: {Unit} -> inp ::: {Type}
               -> [tables ~ exps] =>
               sql_query tables exps
               -> ($(exps ++ map (fn fields :: {Type} => $fields) tables)
-                  -> transaction (xml ctx [] []))
-              -> transaction (xml ctx [] [])
+                  -> transaction (xml ctx inp []))
+              -> transaction (xml ctx inp [])
                        
 val oneOrNoRows : tables ::: {{Type}} -> exps ::: {Type}
                   -> [tables ~ exps] =>