blob: 56b1e3ffb419640bf3639ceca338c847e9049991 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Module Type S.
Parameter t : Type.
End S.
Module Bar(X : S).
Definition elt := X.t.
Axiom fold : elt.
End Bar.
Module Make (Z: S) := Bar(Z).
Declare Module Y : S.
Module Type Interface.
Parameter constant : unit.
End Interface.
Module DepMap : Interface.
Module Dom := Make(Y).
Definition constant : unit :=
let _ := @Dom.fold in tt.
End DepMap.
Print Assumptions DepMap.constant.
|