summaryrefslogtreecommitdiff
path: root/demo/more/conference1.ur
blob: a365efa819ffc576c9d52d5ea16d589153ea2b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
open ConferenceFields

open Conference.Make(struct
                         val paper = {Title = title,
                                      Abstract = abstract}
                         val paperPrivate = {Decision = Decision.decision}
                         val review = {Rating = dropdown "Rating" (#"A" :: #"B" :: #"C" :: #"D" :: []),
                                       CommentsForAuthors = commentsForAuthors}

                         val submissionDeadline = readError "2009-11-22 23:59:59"

                         fun summarizePaper [ctx] [[Body] ~ ctx] r = txt r.Title

                         functor Make (M : Conference.INPUT where con paper = _) = struct
                             open Conference.Join(struct
                                                      structure O1 = Bid.Make(M)
                                                      structure O2 = Decision.Make(struct
                                                                                       con paperOther = _
                                                                                       open M

                                                                                       fun status [ctx] [[Body] ~ ctx]
                                                                                                  r = <xml>!</xml>
                                                                                   end)
                                                  end)
                         end
                     end)