caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chris Hecker <checker@d6.com>
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>,
	jerome.marant@fr.thalesgroup.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Printf and i18n
Date: Thu, 18 Apr 2002 01:17:59 -0700	[thread overview]
Message-ID: <4.3.2.7.2.20020418011611.02bd9360@mail.d6.com> (raw)
In-Reply-To: <20020418171338C.garrigue@kurims.kyoto-u.ac.jp>


>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


  reply	other threads:[~2002-04-18  8:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 17:37 Jérôme Marant
2002-04-17 17:53 ` [Caml-list] Modular subject-observer pattern ? Pascal Grossé
2002-04-18  6:47 ` [Caml-list] Printf and i18n Daniel de Rauglaudre
2002-04-18  8:01   ` John Prevost
2002-04-18  8:02   ` Jérôme Marant
2002-04-18  8:13     ` Jacques Garrigue
2002-04-18  8:17       ` Chris Hecker [this message]
2002-04-18  8:21       ` Jérôme Marant
2002-04-18  8:27     ` Daniel de Rauglaudre
2002-04-18  9:33       ` Jérôme Marant
2002-04-18 10:40         ` Daniel de Rauglaudre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20020418011611.02bd9360@mail.d6.com \
    --to=checker@d6.com \
    --cc=caml-list@inria.fr \
    --cc=garrigue@kurims.kyoto-u.ac.jp \
    --cc=jerome.marant@fr.thalesgroup.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).