From dfca7d89d9cd48e6e8158c80f38d22201dd8f08e Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 29 Mar 2012 06:46:47 -0600 Subject: [PATCH] documentation clarification --- collects/scribblings/reference/sequences.scrbl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/reference/sequences.scrbl b/collects/scribblings/reference/sequences.scrbl index c9b01117ce..32aa2e425c 100644 --- a/collects/scribblings/reference/sequences.scrbl +++ b/collects/scribblings/reference/sequences.scrbl @@ -254,11 +254,16 @@ in the sequence. } @defproc[(in-directory [dir (or/c #f path-string?) #f]) sequence?]{ - Return a sequence that produces all of the paths for files, + Returns a sequence that produces all of the paths for files, directories, and links within @racket[dir]. If @racket[dir] is not @racket[#f], then every produced path starts with @racket[dir] as its prefix. If @racket[dir] is @racket[#f], then paths in and relative to - the current directory are produced.} + the current directory are produced. + + An @racket[in-directory] sequence traverses nested subdirectories + recursively. To generate a sequence that includes only the immediate + content of a directory, use the result of @racket[directory-list] as + a sequence.} @defproc[(in-producer [producer procedure?] [stop any/c] [args any/c] ...) sequence?]{