summaryrefslogtreecommitdiff
path: root/demo/more/orm.urs
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-10-06 10:34:27 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-10-06 10:34:27 -0400
commit140bf664ca2e8e0f38650226d025eab952d93b9e (patch)
tree8a386900871e1e5f5b8e0bc71360b35155987e1d /demo/more/orm.urs
parent80d6d2caaf8994d49c7a411f22993a4bb8eef973 (diff)
Initial Orm1 demo
Diffstat (limited to 'demo/more/orm.urs')
-rw-r--r--demo/more/orm.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/demo/more/orm.urs b/demo/more/orm.urs
index 429d2380..b173d203 100644
--- a/demo/more/orm.urs
+++ b/demo/more/orm.urs
@@ -6,6 +6,8 @@ con meta = fn col_parent :: (Type * Type) => {
Inj : sql_injectable col_parent.1
}
+val local : t :: Type -> sql_injectable t -> meta (t, unit)
+
functor Table(M : sig
con cols :: {(Type * Type)}
val cols : $(map meta cols)