summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 16:41:11 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-21 16:41:11 -0400
commit1a5acb4732536e4be288895eb89d139b19aebc94 (patch)
treee4856ac916556022e401a21e2ff722af1b472aa1 /lib
parenta3418cf924752accf2f68fc2673da2a661276ae5 (diff)
New implicit argument handling
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.urs2
-rw-r--r--lib/top.ur2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/basis.urs b/lib/basis.urs
index 027e81ac..de4204b3 100644
--- a/lib/basis.urs
+++ b/lib/basis.urs
@@ -248,7 +248,7 @@ val insert : fields ::: {Type}
[] fields)
-> dml
-val update : changed :: {Type} -> unchanged ::: {Type} ->
+val update : unchanged ::: {Type} -> changed :: {Type} ->
fn [changed ~ unchanged] =>
$(fold (fn nm (t :: Type) acc [[nm] ~ acc] =>
[nm = sql_exp [T = changed ++ unchanged] [] [] t]
diff --git a/lib/top.ur b/lib/top.ur
index 4b9f54ef..bdf5f182 100644
--- a/lib/top.ur
+++ b/lib/top.ur
@@ -20,7 +20,7 @@ fun compose (t1 ::: Type) (t2 ::: Type) (t3 ::: Type)
(f1 : t2 -> t3) (f2 : t1 -> t2) (x : t1) = f1 (f2 x)
fun txt (t ::: Type) (ctx ::: {Unit}) (use ::: {Type}) (sh : show t) (v : t) =
- cdata (show sh v)
+ cdata (@show sh v)
fun foldTR (tf :: Type -> Type) (tr :: {Type} -> Type)
(f : nm :: Name -> t :: Type -> rest :: {Type}