aboutsummaryrefslogtreecommitdiffhomepage
path: root/demo/more/decision.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-11-02 15:48:06 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-11-02 15:48:06 -0500
commit72664fd130cf983bc2d3cbc0aacd6776625a71b1 (patch)
treee891f485d240c659d16bcaa8843d8e4d1911c055 /demo/more/decision.urs
parent7491cad2aabb379a0d6b2bb5234634c183b3dba2 (diff)
Start of Decision
Diffstat (limited to 'demo/more/decision.urs')
-rw-r--r--demo/more/decision.urs11
1 files changed, 11 insertions, 0 deletions
diff --git a/demo/more/decision.urs b/demo/more/decision.urs
new file mode 100644
index 00000000..d3ac0d46
--- /dev/null
+++ b/demo/more/decision.urs
@@ -0,0 +1,11 @@
+val decision : Meta.private (option bool)
+
+functor Make (M : sig
+ con paperOther :: {Type}
+ constraint [Id, Decision] ~ paperOther
+ include Conference.INPUT
+ where con paper = [Decision = option bool] ++ paperOther
+ end) : Conference.OUTPUT where con paper = [Decision = option bool] ++ M.paperOther
+ where con userId = M.userId
+ where con paperId = M.paperId
+ where con yourPaperTables = []