I'm toying with -Q d p
and it seems it is recursive: it does add d
and all its subdirectories. Has it always been like that? (I did read the doc, and not really understood it)
Yes it is Enrico
Difference is only that with -R doesn't require From foo
Once you use From
there is also a wildcard
Enrico Tassi said:
I'm toying with
-Q d p
and it seems it is recursive: it does addd
and all its subdirectories. Has it always been like that? (I did read the doc, and not really understood it)
The documentation says (and it is mostly unchanged since its inception in 8.5):
A logical prefix
Lib
can be associated with a physical path using either the command line option-Q path Lib
or the command line option-R path Lib
. All subfolders of path are recursively associated with the logical pathLib
extended with the corresponding suffix coming from the physical path. For instance, the folderpath/Foo/Bar
maps toLib.Foo.Bar
. [...] For example, the name associated with the filepath/Foo/Bar/File.vo
isLib.Foo.Bar.File
.
Are there some suggestions to improve it?
I was talking about this: https://coq.inria.fr/refman/proof-engine/vernacular-commands.html#coq:cmd.Add-LoadPath
The text you quote is fine. Where is it?
https://coq.inria.fr/distrib/current/refman/language/core/modules.html#libraries-and-filesystem
As for Add LoadPath
, its meaning might indeed have changed in 8.5. It was non-recursive and became recursive. From a backward compatibility point of view, the change was almost transparent. And that way, I did not have to add Add RecButNonRec LoadPath
but I could just reuse Add LoadPath
.
Enrico Tassi has marked this topic as resolved.
Last updated: Oct 13 2024 at 01:02 UTC