From 218146e27b7cd6ad51ba9ac23f0f825ff2a0bf11 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Sat, 7 Nov 2009 11:06:38 -0500 Subject: Saving paper decisions --- demo/more/decision.urs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'demo/more/decision.urs') 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 -- cgit v1.2.3