diff options
author | 2008-09-07 14:38:14 -0400 | |
---|---|---|
committer | 2008-09-07 14:38:14 -0400 | |
commit | a783fe7797e3bff493e595e07ed53a43dc4754d2 (patch) | |
tree | 48c44ad97ea69969e20c00c13a9ae26ec6cf0ad2 /lib/basis.urs | |
parent | df8eea45a9ba38963b5bcc58b4e6439c055524e4 (diff) |
Scratch that change....
Diffstat (limited to 'lib/basis.urs')
-rw-r--r-- | lib/basis.urs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/basis.urs b/lib/basis.urs index 91933254..a095a57e 100644 --- a/lib/basis.urs +++ b/lib/basis.urs @@ -206,19 +206,19 @@ val dml : dml -> transaction unit val insert : fields ::: {Type} -> sql_table fields -> $(fold (fn nm (t :: Type) acc => [nm] ~ acc => - [nm = sql_exp [] [] [] t] ++ acc) [] fields) + [nm = sql_exp [T = fields] [] [] t] ++ acc) [] fields) -> dml -val update : changed :: {Type} -> unchanged ::: {Type} -> changed ~ unchanged - -> sql_table (changed ++ unchanged) +val update : changed ::: {Type} -> unchanged ::: {Type} -> changed ~ unchanged -> $(fold (fn nm (t :: Type) acc => [nm] ~ acc => - [nm = sql_exp [] [] (changed ++ unchanged) t] ++ acc) [] changed) - -> sql_exp [] [] (changed ++ unchanged) bool + [nm = sql_exp [T = changed ++ unchanged] [] [] t] ++ acc) [] changed) + -> sql_table (changed ++ unchanged) + -> sql_exp [T = changed ++ unchanged] [] [] bool -> dml val delete : fields ::: {Type} -> sql_table fields - -> sql_exp [] [] fields bool + -> sql_exp [T = fields] [] [] bool -> dml |