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 RAA14179; Tue, 11 Jun 2002 17:40:45 +0200 (MET DST) 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 RAA14535 for ; Tue, 11 Jun 2002 17:40:45 +0200 (MET DST) Received: from waco.inria.fr (waco.inria.fr [128.93.25.2]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g5BFeh108229; Tue, 11 Jun 2002 17:40:43 +0200 (MET DST) Received: (from verlyck@localhost) by waco.inria.fr (8.11.1/8.11.1) id g5BFehJ06702; Tue, 11 Jun 2002 17:40:43 +0200 Date: Tue, 11 Jun 2002 17:40:43 +0200 Message-Id: <200206111540.g5BFehJ06702@waco.inria.fr> X-Authentication-Warning: waco.inria.fr: verlyck set sender to Bruno.Verlyck@inria.fr using -f To: max630@mail.ru CC: caml-list@inria.fr In-reply-to: <20020611213158.A680@max.home> (max630@mail.ru) Subject: Re: [Caml-list] Unix.file_descr -> int ??? From: Bruno.Verlyck@inria.fr References: <20020611213158.A680@max.home> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Date: Tue, 11 Jun 2002 21:31:59 +0700 From: Max Kirillov Suddently, I'm unable to recover file descriptor from Unix's file_descr. At least, Unix module does not contain any function doing that and the type is abstract. What was a reason for the limitation? Xavier answered this some years ago; see http://caml.inria.fr/archives/199703/msg00009.html Is there some way (apart from hacking ocaml) to do that? You can use Cash (http://pauillac.inria.fr/cash). It has all the machinery you may want to do that. This machinery is not that light, and this comforts Xavier's choice (IMO). Bruno. ------------------- 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