This library is unstable
compatibility will not be maintained.
for more information.
This library defines utilities dealing with the directory paths used by the
Produces a string rendering of path, replacing distribution-specific
paths (normally: collections, user-installed collections, or PLanet cache) with
The set of paths and their abbreviations may be overridden by the
#:dirs option, which accepts an association list. Its keys must be
thunks which produce a path. Its values may be either #f for no
abbreviation (the directory prefix is simply omitted) or any other value to be
displayed in the output. For instance, "document.txt"
relative to a path abbreviated "path" would be rendered as
If the path is not relative to one of the given directories, the default return
value is a string rendering of the unmodified path. This default may be
overridden by providing default.
Represents the default directory substitutions for
. By default, the collections directory
is replaced by collects
, the user-installed collections directory
is replaced by user
, and the PLaneT cache is replaced by
Represents the directory substitutions used by setup-plt. The
collections directory is omitted, the user-installed collections directory is
replaced by user, and the PLaneT cache is replaced by