Skip to content
Snippets Groups Projects
Commit b0585e5d authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Revert "Merge branch 'ralf/mangled' into 'master'"

This reverts commit 6a7d163c, reversing
changes made to 40e5274f.
parent 283bda39
Branches
No related tags found
No related merge requests found
...@@ -55,12 +55,14 @@ build-coq.8.17.0-mr: ...@@ -55,12 +55,14 @@ build-coq.8.17.0-mr:
variables: variables:
OPAM_PINS: "coq version 8.17.0" OPAM_PINS: "coq version 8.17.0"
DENY_WARNINGS: "1" DENY_WARNINGS: "1"
MANGLE_NAMES: "1"
build-coq.8.16.1: build-coq.8.16.1:
<<: *template <<: *template
variables: variables:
OPAM_PINS: "coq version 8.16.1" OPAM_PINS: "coq version 8.16.1"
DENY_WARNINGS: "1" DENY_WARNINGS: "1"
MANGLE_NAMES: "1"
CI_COQCHK: "1" CI_COQCHK: "1"
OPAM_PKG: "1" OPAM_PKG: "1"
DOC_DIR: "coqdoc@center.mpi-sws.org:stdpp" DOC_DIR: "coqdoc@center.mpi-sws.org:stdpp"
......
...@@ -67,9 +67,6 @@ longer supported by this release. ...@@ -67,9 +67,6 @@ longer supported by this release.
(`map_fold` used to be derived from `map_to_list`.) This makes it possible to (`map_fold` used to be derived from `map_to_list`.) This makes it possible to
use `map_fold` in nested-recursive definitions on maps. For example, use `map_fold` in nested-recursive definitions on maps. For example,
`Fixpoint f (t : gtest) := let 'GTest ts := t in map_fold (λ _ t', plus (f t')) 1 ts`. `Fixpoint f (t : gtest) := let 'GTest ts := t in map_fold (λ _ t', plus (f t')) 1 ts`.
- Enable 'light' name mangling in `stdpp.options`, which prefixes auto-generated
names with `__`. This only affects developments that explicitly opt-in to
following the std++ configuration by importing `stdpp.options`.
The following `sed` script should perform most of the renaming The following `sed` script should perform most of the renaming
(on macOS, replace `sed` by `gsed`, installed via e.g. `brew install gnu-sed`). (on macOS, replace `sed` by `gsed`, installed via e.g. `brew install gnu-sed`).
......
...@@ -12,13 +12,6 @@ Export Set Suggest Proof Using. *) ...@@ -12,13 +12,6 @@ Export Set Suggest Proof Using. *)
that bullets and curly braces must be used to structure the proof. *) that bullets and curly braces must be used to structure the proof. *)
Export Set Default Goal Selector "!". Export Set Default Goal Selector "!".
(** Prevent using auto-generated names in proof scripts (or at least make it
obvious when that happens) *)
Export Set Mangle Names.
Export Set Mangle Names Light.
(** Make these names stand out more, in case one does end up in the proof script. *)
Export Set Mangle Names Prefix "__".
(* "Fake" import to whitelist this file for the check that ensures we import (* "Fake" import to whitelist this file for the check that ensures we import
this file everywhere. this file everywhere.
From stdpp Require Import options. From stdpp Require Import options.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment