Mercurial > urweb
diff lib/ur/top.ur @ 1004:a87495bcaeec
Start of user management
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 20 Oct 2009 12:48:53 -0400 |
parents | 61c30f0742d7 |
children | 5a0f6ec208ce |
line wrap: on
line diff
--- a/lib/ur/top.ur Tue Oct 20 11:05:58 2009 -0400 +++ b/lib/ur/top.ur Tue Oct 20 12:48:53 2009 -0400 @@ -216,10 +216,10 @@ (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/>