Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Printf and i18n
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Chris Hecker <checker@d...>
Subject: Re: [Caml-list] Printf and i18n

>The Obj module lets you access the internal representation of ocaml
>objects, as desribed in the "Interfacing with C" section of the
>manual.

It might be useful to explain the printf format string hackery in the 
manual.  It's the only "legitimate" use of Obj.magic;  you have to use it 
if you want to do varargs style functions like printf and parse the 
strings.  Or, is there another use of it in the standard library that I'm 
missing?

Chris


-------------------
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