diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-07-27 12:12:08 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-07-27 12:12:08 -0400 |
commit | 2c0738bd52259d4d02045fa2d5cb74f5576b71dc (patch) | |
tree | 5795313dd42f572e6c02b89ac43664a466b42c92 /lib/ur/basis.urs | |
parent | 3c916538bab39f1c6d4af649f3ee9b05448ecb30 (diff) |
equalAny policies
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r-- | lib/ur/basis.urs | 2 |
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 |