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 VAA02519; Fri, 7 May 2004 21:00:30 +0200 (MET DST) 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 VAA02611 for ; Fri, 7 May 2004 21:00:29 +0200 (MET DST) Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i47J0REV008714 for ; Fri, 7 May 2004 21:00:28 +0200 Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id 6BF16E011F; Fri, 7 May 2004 14:00:27 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 3708E5C006; Fri, 7 May 2004 14:00:27 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 23B425C005; Fri, 7 May 2004 14:00:27 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id 201E1D059; Fri, 7 May 2004 14:00:27 -0500 (CDT) Date: Fri, 7 May 2004 14:00:27 -0500 From: John Goerzen To: Remi Vanicat Cc: caml-list@inria.fr Subject: Re: [Caml-list] Differentiating lists from arrays with Obj Message-ID: <20040507190027.GB597@excelhustler.com> References: <20040507161855.GA29940@excelhustler.com> <87isf8b3gc.dlv@vanicat.homelinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87isf8b3gc.dlv@vanicat.homelinux.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Scanned-By: clamscan at chatterbox.elmer.internal.excelhustler.com X-Miltered: at nez-perce with ID 409BDCCB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 camlp:01 arrays:01 ocaml:01 0200,:01 writes:01 remi:01 vanicat:01 wrote:03 obj:03 obj:03 variable:03 arguments:03 types:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, May 07, 2004 at 06:35:15PM +0200, Remi Vanicat wrote: > John Goerzen writes: > > > Hello, > > > > I am looking at using the Obj to access internal representations of some > > types. > > It is generally a bad idea. Why do you need this ? I know :-) I'm experimenting with some camlp4 stuff. One thing I'm trying to add is a "print" keyword that takes a variable number of arguments of any type and does the right thing. That's my starting point, at least :-) Even if it may not prove useful in practice (I think it will), it's a good way for me to learn more about OCaml. -- John ------------------- 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