This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see DirectoriesCowan in WG2's repo for R7RS-large.

Directories­Cowan

cowan
2012-06-08 13:21:57
2history
source

Directories

Directories are containers for files. Directories are named by filenames, which can be either strings or implementation-defined objects.

Procedures

(directory? filename)

Returns #t if filename is the name of a directory, or #f if it is not, or the answer is not determinable.

(make-directory filename)

Creates a directory named filename. An exception is signaled if this cannot be done.

(delete-directory filename)

Deletes a directory named filename. An exception is signaled if this cannot be done.

Reading directories

See DirectoryPortsCowan.