Mercurial > urweb
diff lib/ur/top.ur @ 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.ur Mon Nov 02 15:54:22 2009 -0500 +++ b/lib/ur/top.ur Sat Nov 07 11:06:38 2009 -0500 @@ -224,10 +224,10 @@ (fn fs acc => return <xml>{acc}{f fs}</xml>) <xml/> -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) - -> transaction (xml ctx [] [])) = + -> transaction (xml ctx inp [])) = query q (fn fs acc => r <- f fs;