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 WAA05436; Fri, 7 May 2004 22:01:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA05702 for ; Fri, 7 May 2004 22:01:15 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mwinf0902.wanadoo.fr (smtp9.wanadoo.fr [193.252.22.22]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i47K1ESH023117 for ; Fri, 7 May 2004 22:01:14 +0200 Received: from vanicat.homelinux.org (ca-bordeaux-6-161.w80-8.abo.wanadoo.fr [80.8.78.161]) by mwinf0902.wanadoo.fr (SMTP Server) with ESMTP id 6813C1800A73 for ; Fri, 7 May 2004 22:01:12 +0200 (CEST) Received: from moi by vanicat.homelinux.org with local (Exim 4.32) id 1BMBWq-0003RB-E6 for caml-list@inria.fr; Fri, 07 May 2004 22:01:04 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] Differentiating lists from arrays with Obj References: <20040507161855.GA29940@excelhustler.com> <87isf8b3gc.dlv@vanicat.homelinux.org> <20040507190027.GB597@excelhustler.com> From: Remi Vanicat Mail-Copy-To: never Date: Fri, 07 May 2004 22:01:03 +0200 In-Reply-To: <20040507190027.GB597@excelhustler.com> (John Goerzen's message of "Fri, 7 May 2004 14:00:27 -0500") Message-ID: <877jvoatxc.dlv@vanicat.homelinux.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 409BEB0A.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 undocumented:01 arrays:01 ocaml:01 caml:01 0200,:01 writes:01 writes:01 remi:01 remi:01 vanicat:01 vanicat:01 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk John Goerzen writes: > 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. I don't think so. It is a difficult thing you are trying to do. That use undocumented part of the standard library. I believe that there are better way to learn caml. -- Rémi Vanicat ------------------- 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