diff options
author | 2008-08-31 10:36:54 -0400 | |
---|---|---|
committer | 2008-08-31 10:36:54 -0400 | |
commit | 4688519e58b0b2923e291d6a719a7f34810bfdc1 (patch) | |
tree | b2857ef60e3307635c96f8300b5f515834e32cfc /lib/basis.urs | |
parent | 9e13248824201d825b9d06b266d045db63f3340d (diff) |
Monoize transaction identifiers; improve disjointness prover on irreducible folds; change 'query' type
Diffstat (limited to 'lib/basis.urs')
-rw-r--r-- | lib/basis.urs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/basis.urs b/lib/basis.urs index f9fc23d5..421a07bc 100644 --- a/lib/basis.urs +++ b/lib/basis.urs @@ -155,11 +155,10 @@ val bind : t1 ::: Type -> t2 ::: Type -> transaction t1 -> (t1 -> transaction t2) -> transaction t2 -val query : tables ::: {{Type}} -> exps ::: {Type} +val query : tables ::: {{Type}} -> exps ::: {Type} -> tables ~ exps -> sql_query tables exps -> state ::: Type - -> ($(fold (fn nm (fields :: {Type}) acc => [nm] ~ acc => [nm = $fields] ++ acc) [] tables) - -> $exps + -> ($(exps ++ fold (fn nm (fields :: {Type}) acc => [nm] ~ acc => [nm = $fields] ++ acc) [] tables) -> state -> transaction state) -> state |