From: doligez@pa.dec.com
To: Hendrik Tews <tews@irritatie.cs.kun.nl>
Cc: caml-list@inria.fr
Subject: Re: Obj module
Date: Tue, 19 Jan 1999 15:17:59 -0800 [thread overview]
Message-ID: <199901192317.AA08949@six.pa.dec.com> (raw)
In-Reply-To: Message of Tue, 19 Jan 1999 14:09:00 +0100 from Hendrik Tews <tews@irritatie.cs.kun.nl> <199901191309.OAA31814@irritatie.cs.kun.nl>
>From: Hendrik Tews <tews@irritatie.cs.kun.nl>
>where can I find documentation on the Obj module in the standard
>library?
This module is deliberately undocumented because it breaks the type
system. If you use it, your program can crash or behave in erratic
ways. We don't document the module because we don't want spurious bug
reports from users who use it without knowing what they're doing.
More seriously, there is no way to document this module in an
implementation-independent way, and its behaviour is likely to change
with every release of O'Caml. Basically, the documentation is the
whole source code for the O'Caml compiler, runtime and libraries. If
you don't understand it, don't use Obj.
>Can somebody explain the meaning of those C primitives starting
>with a percent sign, eg "%identity"?
They are not really C primitives, but pseudo-primitives that are
recognised and implemented by the code generator itself, so the linker
will never see them. In the byte-code system, each of these is
expanded to one byte-code, in the native-code compiler, they are
replaced by a short sequence of instructions.
-- Damien
next prev parent reply other threads:[~1999-01-20 12:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-19 13:09 Hendrik Tews
1999-01-19 23:17 ` doligez [this message]
1999-01-20 2:29 ` Jacques GARRIGUE
1999-01-20 12:03 ` Hendrik Tews
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=199901192317.AA08949@six.pa.dec.com \
--to=doligez@pa.dec.com \
--cc=caml-list@inria.fr \
--cc=tews@irritatie.cs.kun.nl \
/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