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
How to do this properly with OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-07-24 (19:14)
From: Stephane Glondu <Stephane.Glondu@c...>
Subject: Re: [Caml-list] How to do this properly with OCaml?
On Sunday 24 July 2005 11:48, skaller wrote:
> > I strongly disagree. Look at source code of no Obj.magic.
> > What do you mean by "efficiently"?
> Buffer only works for characters.

You can make it work for any datatype by using an 'a array option instead 
of a string.

Stephane Glondu.