Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Eray Ozkural <eozk@bicom-inc.com>
To: Pierre Weis <pierre.weis@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Qualification of record fields
Date: Thu, 26 Dec 2002 11:03:57 +0200	[thread overview]
Message-ID: <200212261103.57180.eozk@bicom-inc.com> (raw)
In-Reply-To: <200212231014.LAA00156@pauillac.inria.fr>

Hi Pierre and others, thanks for the info.

On Monday 23 December 2002 12:14 pm, Pierre Weis wrote:
> Hi,
>
> You just have to qualify st_kind: qualification in Caml is usable for
> labels also. Hence, use:
>
> if src_stats.Unix.st_kind != Unix.S_REG then exit 1;
>

Not taking into account the capitalization rules I naively had tried:
src_stats.(Unix.st_kind)
:P

Merry Xmas,

-- 
Eray Ozkural <eozk@bicom-inc.com>
Software Engineer, BICOM Inc.
GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D 539C
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-12-26 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20  7:43 Eray Ozkural
2002-12-20 19:49 ` Sven Luther
2002-12-23 10:14 ` Pierre Weis
2002-12-26  9:03   ` Eray Ozkural [this message]
2002-12-26 16:54     ` Pierre Weis

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=200212261103.57180.eozk@bicom-inc.com \
    --to=eozk@bicom-inc.com \
    --cc=caml-list@inria.fr \
    --cc=pierre.weis@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