keywords in standard mode
Hi, I'd like to show hidden files in standard mode. According to Gambit document, I need to use open-directory-port with ignore-hidden keyword but that wouldn't work in standard mode. Is there any way to make keywords work in standard mode, or another way to tell open-directory-port to list hidden files? Thanks, -- Duy
Afficher les réponses par date
On 23-Jul-09, at 9:04 PM, Nguyen Thai Ngoc Duy wrote:
Hi,
I'd like to show hidden files in standard mode. According to Gambit document, I need to use open-directory-port with ignore-hidden keyword but that wouldn't work in standard mode. Is there any way to make keywords work in standard mode, or another way to tell open-directory-port to list hidden files?
Thanks,
(directory-files (list (string->keyword "path") "mydir" (string->keyword "ignore-hidden") #f))
Marc
On Fri, Jul 24, 2009 at 11:30 AM, Marc Feeley<feeley@iro.umontreal.ca> wrote:
On 23-Jul-09, at 9:04 PM, Nguyen Thai Ngoc Duy wrote:
Hi,
I'd like to show hidden files in standard mode. According to Gambit document, I need to use open-directory-port with ignore-hidden keyword but that wouldn't work in standard mode. Is there any way to make keywords work in standard mode, or another way to tell open-directory-port to list hidden files?
Thanks,
(directory-files (list (string->keyword "path") "mydir" (string->keyword "ignore-hidden") #f))
Thanks. Works great! -- Duy
participants (2)
-
Marc Feeley -
Nguyen Thai Ngoc Duy