Skip to content

Commit

Permalink
Merge pull request #50 from coq-community/v8.10+no-template-annot
Browse files Browse the repository at this point in the history
Remove template annotations for 8.10 branch
  • Loading branch information
palmskog authored Aug 1, 2019
2 parents 86eef5c + 34e9fb3 commit 65cd6a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ opam: &OPAM
export PS4='+ \e[33;1m(\$0 @ line \$LINENO) \$\e[0m '
set -ex # -e = exit on failure; -x = trace for debug
opam update -y
opam pin add ${CONTRIB_NAME} . -y --no-action
opam pin add ${CONTRIB_NAME} . -y -n -k path
opam install ${CONTRIB_NAME} -y -j ${NJOBS} --deps-only
opam config list
opam repo list
Expand Down
11 changes: 4 additions & 7 deletions theories/AAC.v
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,14 @@ Module Sym.

Register type_of as aac_tactics.internal.sym.type_of.
Register rel_of as aac_tactics.internal.sym.rel_of.

(** a symbol package contains an arity,
a value of the corresponding type,
and a proof that the value is a proper morphism *)
#[universes(template)]
Record pack : Type := mkPack {

Record pack : Type := mkPack {
ar : nat;
value :> type_of ar;
value :> type_of ar;
morph : Proper (rel_of ar) value
}.

Expand All @@ -190,7 +190,6 @@ Module Bin.
Section t.
Context {X} {R: relation X}.

#[universes(template)]
Record pack := mk_pack {
value:> X -> X -> X;
compat: Proper (R ==> R ==> R) value;
Expand Down Expand Up @@ -226,7 +225,6 @@ Section s.
uf_desc: Unit R (Bin.value (e_bin uf_idx)) u
}.

#[universes(template)]
Record unit_pack := mk_unit_pack {
u_value:> X;
u_desc: list (unit_of u_value)
Expand Down Expand Up @@ -255,7 +253,6 @@ Section s.
contains, among other things, the arity of symbols)
*)

#[universes(template)]
Inductive T: Type :=
| sum: idx -> mset T -> T
| prd: idx -> nelist T -> T
Expand Down

0 comments on commit 65cd6a2

Please sign in to comment.