We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60dd38 commit 7bd24e5Copy full SHA for 7bd24e5
_CoqProject.test-suite
@@ -94,6 +94,7 @@ tests/unit/mixin_src_has_mixin_instance.v
94
tests/unit/mk_src_map.v
95
tests/unit/close_hole_term.v
96
tests/unit/struct.v
97
+tests/factory_when_notation.v
98
99
-R tests HB.tests
100
-R examples HB.examples
tests/factory_when_notation.v
@@ -0,0 +1,7 @@
1
+From HB Require Import structures.
2
+Notation x := (fun x : nat => true).
3
+HB.mixin Record m T := {x : T}.
4
+HB.factory Record f T := { x : T }.
5
+HB.builders Context T of f T.
6
+HB.instance Definition _ := m.Build T x.
7
+HB.end.
0 commit comments