summaryrefslogtreecommitdiff
path: root/test-suite/modules/obj.v
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
committerGravatar Samuel Mimram <smimram@debian.org>2006-04-28 14:59:16 +0000
commit3ef7797ef6fc605dfafb32523261fe1b023aeecb (patch)
treead89c6bb57ceee608fcba2bb3435b74e0f57919e /test-suite/modules/obj.v
parent018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff)
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/modules/obj.v')
-rw-r--r--test-suite/modules/obj.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/test-suite/modules/obj.v b/test-suite/modules/obj.v
index 2231e084..97337a12 100644
--- a/test-suite/modules/obj.v
+++ b/test-suite/modules/obj.v
@@ -1,16 +1,17 @@
-Implicit Arguments On.
+Set Implicit Arguments.
+Unset Strict Implicit.
Module M.
- Definition a:=[s:Set]s.
+ Definition a (s : Set) := s.
Print a.
End M.
Print M.a.
Module K.
- Definition app:=[A,B:Set; f:(A->B); x:A](f x).
+ Definition app (A B : Set) (f : A -> B) (x : A) := f x.
Module N.
- Definition apap:=[A,B:Set](app (app 1!A 2!B)).
+ Definition apap (A B : Set) := app (app (A:=A) (B:=B)).
Print app.
Print apap.
End N.
@@ -20,7 +21,6 @@ End K.
Print K.app.
Print K.N.apap.
-Module W:=K.N.
+Module W := K.N.
Print W.apap.
-