-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathinputStrings.urs
30 lines (22 loc) · 1.05 KB
/
inputStrings.urs
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
27
28
29
30
(* Widget to display some textual fields to a user, with the option to edit *)
functor Make(M : sig
con const :: {Type}
con given :: {Type}
con fixed :: {Type}
con chosen :: {Unit}
constraint const ~ given
constraint (const ++ given) ~ fixed
constraint (const ++ given ++ fixed) ~ chosen
val const : $const
table tab : (const ++ given ++ fixed ++ mapU string chosen)
val chosenLabels : $(mapU string chosen)
val constFl : folder const
val givenFl : folder given
val chosenFl : folder chosen
val constInj : $(map sql_injectable const)
val givenInj : $(map sql_injectable given)
val givenEq : $(map eq given)
val textLabel : string
(* Authentication *)
val amGiven : transaction (option $given)
end) : Ui.S where type input = $M.given