<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/94b7fe8bd25a2a3881ffe059f168262e"
  from="Eray Ozkural &lt;eozk@b...&gt;"
  author="Eray Ozkural"
  date="2002-12-26T16:55:56"
  subject="Re: [Caml-list] Qualification of record fields"
  prev="2002/12/39cbdd404e8a04b085a4da390c28b8f5"
  next="2002/12/07b606dda0c1892004aca27b1e1f0cf3"
  prev-in-thread="2002/12/64f9891465a85033402f55b9d9d414a4"
  next-in-thread="2002/12/39cbdd404e8a04b085a4da390c28b8f5"
  prev-thread="2002/12/b557f9473d000343b13429780b7cdff9"
  next-thread="2002/12/91aa7b1a95c3d3276c4f02d438ab4a82"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Qualification of record fields">
<msg 
  url="2002/12/cddb5144a134e20bd2334b3905b9e761"
  from="Eray Ozkural &lt;eozk@b...&gt;"
  author="Eray Ozkural"
  date="2002-12-20T19:40:54"
  subject="[Caml-list] Qualification of record fields">
<msg 
  url="2002/12/66dc1faff6b5a3bb7ef3ae148a2d0f48"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2002-12-20T19:49:43"
  subject="Re: [Caml-list] Qualification of record fields">
</msg>
<msg 
  url="2002/12/64f9891465a85033402f55b9d9d414a4"
  from="Pierre Weis &lt;pierre.weis@i...&gt;"
  author="Pierre Weis"
  date="2002-12-23T10:14:26"
  subject="Re: [Caml-list] Qualification of record fields">
<msg 
  url="2002/12/94b7fe8bd25a2a3881ffe059f168262e"
  from="Eray Ozkural &lt;eozk@b...&gt;"
  author="Eray Ozkural"
  date="2002-12-26T16:55:56"
  subject="Re: [Caml-list] Qualification of record fields">
<msg 
  url="2002/12/39cbdd404e8a04b085a4da390c28b8f5"
  from="Pierre Weis &lt;pierre.weis@i...&gt;"
  author="Pierre Weis"
  date="2002-12-26T16:54:04"
  subject="Re: [Caml-list] Qualification of record fields">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Hi Pierre and others, thanks for the info.

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

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

Merry Xmas,

-- 
Eray Ozkural &lt;eozk@bicom-inc.com&gt;
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

</contents>

</message>

