diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-11-07 11:06:38 -0500 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-11-07 11:06:38 -0500 |
commit | 218146e27b7cd6ad51ba9ac23f0f825ff2a0bf11 (patch) | |
tree | 885b8f1689795cdad800ee601cf741f9b4145088 /demo/more/decision.urs | |
parent | 82b47eee82d51eca0c0fd881be28b974bcc54984 (diff) |
Saving paper decisions
Diffstat (limited to 'demo/more/decision.urs')
-rw-r--r-- | demo/more/decision.urs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/more/decision.urs b/demo/more/decision.urs index 9ae585b0..e33403cb 100644 --- a/demo/more/decision.urs +++ b/demo/more/decision.urs @@ -6,7 +6,8 @@ functor Make (M : sig include Conference.INPUT where con paper = [Decision = option bool] ++ paperOther - val status : ctx ::: {Unit} -> [[Body] ~ ctx] => $paperOther -> xml ([Body] ++ ctx) [] [] + val status : ctx ::: {Unit} -> [[Body] ~ ctx] => $([Id = paperId] ++ paperOther) + -> transaction (xml ([Body] ++ ctx) [] []) end) : Conference.OUTPUT where con paper = [Decision = option bool] ++ M.paperOther where con userId = M.userId where con paperId = M.paperId |