caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Weis <weis@pauillac.inria.fr>
Date: Fri, 27 Oct 2000 08:36:28 +0200 (MET DST)	[thread overview]
Message-ID: <200010270636.IAA09624@pauillac.inria.fr> (raw)

ng a directory. *)

let read_directory name =
  let hand = opendir name in
  let names = ref [] in
  begin
    try
      while true do
        let name = readdir hand in
        if name <> "." && name <> ".." then
          names := name :: !names
      done
    with
      End_of_file ->
        ()
  end;
  List.rev (!names)


                 reply	other threads:[~2000-10-27  6:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200010270636.IAA09624@pauillac.inria.fr \
    --to=weis@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).