Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Recursive lists
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yamagata Yoriyuki <yoriyuki@m...>
Subject: Re: [Caml-list] About Obj
From: Jon Harrop <>
Subject: Re: [Caml-list] About Obj (was Recursive lists)
Date: Mon, 11 Oct 2004 16:33:03 +0100

> Yes, your Obj implementation is substantially bigger, more complicated, more 
> error prone and more costly on small lists. Just forget this whole thread 
> ever happened and consider using a different data structure. :-)
> Can Obj not be hidden so that people can't use it so easily?

Yes, it would be nice to have a compiler option which disable all
causes of the evil (Obj.magic, Array.unsafe_get, external etc).  Then
we can control where unsafe operations are used.
Yamagata Yoriyuki

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: