diff options
| author | Matej Kosik | 2016-02-16 07:38:45 +0100 |
|---|---|---|
| committer | Matej Kosik | 2016-02-16 07:38:45 +0100 |
| commit | 1dddd062f35736285eb2940382df2b53224578a7 (patch) | |
| tree | 55eb10f5422da4474bf482ae1dbe84a4a490a37d /kernel/nativecode.ml | |
| parent | 13e847b7092d53ffec63e4cba54c67d39560e67a (diff) | |
Renaming variants of Entries.local_entry
The original datatype:
Entries.local_entry = LocalDef of constr
| LocalAssum of constr
was changed to:
Entries.local_entry = LocalDefEntry of constr
| LocalAssumEntry of constr
There are two advantages:
1. the new names are consistent with other variant names in the same module
which also have this "*Entry" suffix
2. the new names do not collide with variants defined in the Context.{Rel,Named}.Declaration
modules so both, "Entries" as well as "Context.{Rel,Named}.Declaration" can be open at the same time.
The disadvantage is that those new variants are longer.
But since those variants are rarely used, it it is not a big deal.
Diffstat (limited to 'kernel/nativecode.ml')
0 files changed, 0 insertions, 0 deletions
