Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Differentiating lists from arrays with Obj
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi Vanicat <remi.vanicat@l...>
Subject: Re: [Caml-list] Differentiating lists from arrays with Obj
John Goerzen <jgoerzen@complete.org> writes:

> On Fri, May 07, 2004 at 06:35:15PM +0200, Remi Vanicat wrote:
>> John Goerzen <jgoerzen@complete.org> 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