aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/ur/top.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-10-20 12:48:53 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-10-20 12:48:53 -0400
commit8ba88fa1aacb63cff48fe42ba7d3dcfc31c45bbb (patch)
tree06207c87f54c242948fab98a5331a12d0557c85d /lib/ur/top.urs
parente23f4d764bc93640cb08a7d6ebd7e261fac2cb05 (diff)
Start of user management
Diffstat (limited to 'lib/ur/top.urs')
-rw-r--r--lib/ur/top.urs6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ur/top.urs b/lib/ur/top.urs
index 82090dd2..b6734cd3 100644
--- a/lib/ur/top.urs
+++ b/lib/ur/top.urs
@@ -125,12 +125,12 @@ val queryI : tables ::: {{Type}} -> exps ::: {Type}
-> transaction unit)
-> transaction unit
-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)
- -> xml ctx [] [])
- -> transaction (xml ctx [] [])
+ -> xml ctx inp [])
+ -> transaction (xml ctx inp [])
val queryX' : tables ::: {{Type}} -> exps ::: {Type} -> ctx ::: {Unit}
-> [tables ~ exps] =>