[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] Ballot item #113 "directory contents"
- To: Alex Shinn <alexshinn@x>
- Subject: Re: [Scheme-reports] Ballot item #113 "directory contents"
- From: "Arthur A. Gleckler" <scheme@x>
- Date: Tue, 11 Jan 2011 08:44:58 -0800
- Cc: scheme-reports@x
- In-reply-to: <AANLkTi=THByNNJ=89=voRhLgrpj2vbWYuHEZdSC+AM46@mail.gmail.com>
- References: <ea8ba971-5184-4337-82c8-855c6d319c11@d8g2000yqf.googlegroups.com> <AANLkTi=THByNNJ=89=voRhLgrpj2vbWYuHEZdSC+AM46@mail.gmail.com>
> Technically you could define directory? as:
> (define (directory? x) (file-exists? (string-append x "/.")))
We shouldn't define it in such an OS-specific way.
I do agree that we need a `directory?' procedure.
_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports