summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2010-07-27 12:12:08 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2010-07-27 12:12:08 -0400
commita5d7c214f42af261d900af8a7ac042b807c2abe2 (patch)
tree5795313dd42f572e6c02b89ac43664a466b42c92 /lib
parent8179b6224c5d4eb3b3fbe48e6acf5d630138c3da (diff)
equalAny policies
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 7b17dd05..8bc2b6ea 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -819,6 +819,8 @@ val mayUpdate : fs ::: {Type} -> tables ::: {{Type}} -> [[Old, New] ~ tables]
=> sql_query [] ([Old = fs, New = fs] ++ tables) []
-> sql_policy
+val equalAny : nm :: Name -> t ::: Type -> fs ::: {Type} -> ks ::: {{Unit}}
+ -> [[nm] ~ fs] => sql_table ([nm = t] ++ fs) ks -> sql_policy
val equalKnown : nm :: Name -> t ::: Type -> fs ::: {Type} -> ks ::: {{Unit}}
-> [[nm] ~ fs] => sql_table ([nm = t] ++ fs) ks -> sql_policy