A general, non-filesystem-specific pathname library.
path, with any directory removed. If
pathdoes not contain a directory separator, return the whole
pathends in a directory separator (i.e. path is a directory), or is empty, return the empty string.
pathis relative (or empty), return
path, not including the
".". If there is no extension, returns
#f. The extension will always be non-empty and contain no
pathwith the extension, if any, removed, along with the
pathwith the extension, if any, replaced with
pathwith any leading ../ removed.
pathis an absolute path, i.e. begins with "/".
pathis a relative path.
pathrelative to the directory
pathis not contained in
dir. If the two are the same (modulo a trailing
pathrelative to the given directory. Returns
pathunchanged if already absolute.
pathis already normalized.
argsis a path component, separated with the directory separator.
argsmay include symbols and integers, in addition to strings.