summaryrefslogtreecommitdiff
path: root/tests/crud.urs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/crud.urs')
-rw-r--r--tests/crud.urs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/crud.urs b/tests/crud.urs
new file mode 100644
index 00000000..5f2ae695
--- /dev/null
+++ b/tests/crud.urs
@@ -0,0 +1,11 @@
+functor Make(M : sig
+ con cols :: {Type}
+ constraint [Id] ~ cols
+ val tab : sql_table ([Id = int] ++ cols)
+
+ val title : string
+
+ val cols : $(mapTT (fn t => {Show : t -> xbody}) cols)
+end) : sig
+ val main : unit -> transaction page
+end