-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'do-not-care-about-cyclic-values'
With this, we adopt the simple (and more common) design where paths which are cyclic ocaml values are *not* supported and *not* checked. In particular, some functions may not terminate when called with such values. This answers issue #4, which dealt with possible non termination of functions of the pure library: all legal paths are acyclic ocaml values, and as our functions on `Path.t` values in the pure library simply traverse them, there is no risk of infinite loop, hence no particular precaution to take. Note that there is no danger of non-termination when dealing with the file system either: - either the functions in async-unix do their job by traversing a `Path.t` value, which guarantees termination - either they can discover symbolic links whose resolution run an infinite computation by just asking the filesystem, which considers such links as ill-defined and marks them as broken.
- Loading branch information
Showing
4 changed files
with
110 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.