diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-08-22 14:30:01 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-08-22 14:30:01 +0000 |
commit | f6d8fc17dc9474e4d043cf709d672d9259599354 (patch) | |
tree | 3e05dce982c2bebb63f432064136d927a227e0c7 /library/libnames.mli | |
parent | 08e7ec2c48c5ca666ad42b5f969576e6aa43d2ea (diff) |
Nicer code concerning dirpaths and modpath around Lib
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16727 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/libnames.mli')
-rw-r--r-- | library/libnames.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/libnames.mli b/library/libnames.mli index c44fea543..627b8f013 100644 --- a/library/libnames.mli +++ b/library/libnames.mli @@ -18,13 +18,13 @@ val pr_dirpath : DirPath.t -> Pp.std_ppcmds val dirpath_of_string : string -> DirPath.t val string_of_dirpath : DirPath.t -> string -(** Pop the suffix of a [DirPath.t] *) +(** Pop the suffix of a [DirPath.t]. Raises a [Failure] for an empty path *) val pop_dirpath : DirPath.t -> DirPath.t (** Pop the suffix n times *) val pop_dirpath_n : int -> DirPath.t -> DirPath.t -(** Give the immediate prefix and basename of a [DirPath.t] *) +(** Immediate prefix and basename of a [DirPath.t]. May raise [Failure] *) val split_dirpath : DirPath.t -> DirPath.t * Id.t val add_dirpath_suffix : DirPath.t -> module_ident -> DirPath.t |