diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-10-20 12:48:53 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-10-20 12:48:53 -0400 |
commit | 4ce29a476f2f02448db865787b55037b7b10da69 (patch) | |
tree | 06207c87f54c242948fab98a5331a12d0557c85d /lib/ur/top.ur | |
parent | 2fdb4d380392a2a221e4f0ebec1bf555e2c73ba3 (diff) |
Start of user management
Diffstat (limited to 'lib/ur/top.ur')
-rw-r--r-- | lib/ur/top.ur | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ur/top.ur b/lib/ur/top.ur index 6ffc888f..6a0f8751 100644 --- a/lib/ur/top.ur +++ b/lib/ur/top.ur @@ -216,10 +216,10 @@ fun queryI [tables ::: {{Type}}] [exps ::: {Type}] (fn fs _ => f fs) () -fun queryX [tables ::: {{Type}}] [exps ::: {Type}] [ctx ::: {Unit}] +fun queryX [tables ::: {{Type}}] [exps ::: {Type}] [ctx ::: {Unit}] [inp ::: {Type}] [tables ~ exps] (q : sql_query tables exps) (f : $(exps ++ map (fn fields :: {Type} => $fields) tables) - -> xml ctx [] []) = + -> xml ctx inp []) = query q (fn fs acc => return <xml>{acc}{f fs}</xml>) <xml/> |