Skip to content

Commit 7459f50

Browse files
authored
Merge pull request #103 from CohenCyril/fix_90
Remove reexports of notations
2 parents c77f721 + 08dc285 commit 7459f50

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

hb.elpi

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,15 +1247,6 @@ export-operations Structure ProjSort ProjClass MLwP EX1 EX2 MLToExport :- std.do
12471247
std.map LMwPToExport w-params_1 MLToExport,
12481248
].
12491249

1250-
pred reexport-1-operation i:prop.
1251-
reexport-1-operation (exported-op _M _P C) :-
1252-
@global! => coq.notation.add-abbreviation {coq.gref->id (const C)} 0 (global (const C)) ff _.
1253-
pred reexport-operations i:list mixinname.
1254-
reexport-operations ML :- std.do! [
1255-
std.flatten {std.map ML (m\ std.findall (exported-op m Poperation_ C_))} PL,
1256-
std.forall PL reexport-1-operation
1257-
].
1258-
12591250
pred mk-coe-class-body
12601251
i:factoryname, % From class
12611252
i:factoryname, % To class
@@ -1539,9 +1530,6 @@ main-declare-structure Module GRFSwP ClosureCheck :- std.do! [
15391530
if-verbose (coq.say "HB: stop module Exports"),
15401531
coq.env.end-module Exports,
15411532

1542-
if-verbose (coq.say "HB: reexporting previous operations as notations"),
1543-
EX => reexport-operations ML,
1544-
15451533
coq.env.end-module _,
15461534

15471535
if-verbose (coq.say "HB: end modules; export" Exports),

0 commit comments

Comments
 (0)