From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA15153; Fri, 20 Dec 2002 20:49:43 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA15123 for ; Fri, 20 Dec 2002 20:49:43 +0100 (MET) Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBKJngn22532 for ; Fri, 20 Dec 2002 20:49:42 +0100 (MET) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto2.wanadoo.fr (6.7.015) id 3E0164E600147D30; Fri, 20 Dec 2002 20:49:41 +0100 Received: from iliana (81.49.169.6) by mel-rta9.wanadoo.fr (6.7.015) id 3E0164750011CB7E; Fri, 20 Dec 2002 20:49:41 +0100 Received: from luther by iliana with local (Exim 3.36 #1 (Debian)) id 18PT9Q-0001cK-00; Fri, 20 Dec 2002 20:49:40 +0100 Date: Fri, 20 Dec 2002 20:49:40 +0100 To: Eray Ozkural Cc: caml-list Subject: Re: [Caml-list] Qualification of record fields Message-ID: <20021220194940.GA6211@iliana> References: <200212200943.12072.eozk@bicom-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212200943.12072.eozk@bicom-inc.com> User-Agent: Mutt/1.4i From: Sven Luther Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Dec 20, 2002 at 09:43:11AM +0200, Eray Ozkural wrote: > Hi, > > I've got a simple code that does some Unix > if src_stats.st_kind != Unix.S_REG then exit 1 else (); > > My problem is that I have to do > open Unix > for st_kind field to be available. Isn't that kind of strange? I want to use > Unix without opening it, qualifying symbols whenever necessary. What about : if src_stats.Unix.st_kind != Unix.S_REG then exit 1 else (); ? Friendly, Sven Luther ------------------- 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