diff options
author | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
---|---|---|
committer | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
commit | 6b649aba925b6f7462da07599fe67ebb12a3460e (patch) | |
tree | 43656bcaa51164548f3fa14e5b10de5ef1088574 /test-suite/modules/obj.v |
Imported Upstream version 8.0pl1upstream/8.0pl1
Diffstat (limited to 'test-suite/modules/obj.v')
-rw-r--r-- | test-suite/modules/obj.v | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test-suite/modules/obj.v b/test-suite/modules/obj.v new file mode 100644 index 00000000..2231e084 --- /dev/null +++ b/test-suite/modules/obj.v @@ -0,0 +1,26 @@ +Implicit Arguments On. + +Module M. + 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). + Module N. + Definition apap:=[A,B:Set](app (app 1!A 2!B)). + Print app. + Print apap. + End N. + Print N.apap. +End K. + +Print K.app. +Print K.N.apap. + +Module W:=K.N. + +Print W.apap. + |