Книги автора: Practical Common Lisp
Книга: Practical Common Lisp
The API
The API
The basic operations the library will support will be getting a list of files in a directory and determining whether a file or directory with a given name exists. You'll also write a function for recursively walking a directory hierarchy, calling a given function for each pathname in the tree.
In theory, these directory listing and file existence operations are already provided by the standard functions DIRECTORY
and PROBE-FILE
. However, as you'll see, there are enough different ways to implement these functions—all within the bounds of valid interpretations of the language standard—that you'll want to write new functions that provide a consistent behavior across implementations.
Похожие страницы
- 12.5.4. Ruby и Windows API
- Using the Security Templates and Security Configuration And Analysis snap-ins
- Saving the Result of a Query to a DataTable
- Adapting to the Circumstances
- 30. Practical: An HTML Generation Library, the Interpreter
- Shaping the Crystal Family
- Opening and Closing a Stream Driver by Using the File API
- The Public API
- Microsoft Exchange Server
- Escape Sequences
- 14.5.1. Early Serial Debug Output
- 4.10 Рекурсия