Browse thread
[Caml-list] Qualification of record fields
-
Eray Ozkural
- Sven Luther
-
Pierre Weis
- Eray Ozkural
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Eray Ozkural <eozk@b...> |
| Subject: | Re: [Caml-list] Qualification of record fields |
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