Skip to content

Renaming HoTT.Tests and maybe HoTT.Contrib #2285

@jdchristensen

Description

@jdchristensen

Currently we often use the same path names in the test folder as in the theories folder, which means that From HoTT Require Import Foo.Bar. is ambiguous. As long as Foo.Bar is the full name, Coq prefers to get this from HoTT (i.e. theories) than from HoTT.Tests (i.e. test), but this is not clear to the reader.

So maybe it would be a good idea to rename HoTT.Tests to something like HoTT_Tests?

(We could consider something similar for contrib, but I don't think we have conflicts there, and this could break external users' code.)

This would be done by changing the -Q line in the _CoqProject file. Ali also points out that we will have to also update the dune files' coq.theory's (name) field.

See #2283 for related discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions