From: ls-ocaml-developer-2006@m-e-leypold.de
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Exception Unix_error problem in toplevel
Date: Sat, 03 Feb 2007 14:48:30 +0100 [thread overview]
Message-ID: <feirejcpxt.fsf@hod.lan.m-e-leypold.de> (raw)
In-Reply-To: <20070203022956.GC29434@telus.net> (Bob Williams's message of "Fri, 2 Feb 2007 18:29:56 -0800")
Bob Williams <a6b37331@telus.net> writes:
> Now to the possible bug in toplevel. According to section 6.8.2 of
> the OCaml manual,
>
> exception Unix_error of ...
>
> simply declares another variant of the built-in variant type "exn". I
> haven't looked into the implementation of OCaml, but I assume the
> compiler statically assigns a tag number to every variant of a normal
> variant type. For exn, however, the tag numbers must be assigned at
> load time or run time.
>
> And that is the problem I stumbled over. The second copy of
Oh cool. :-). There should be RAQ (rarely asked questions + obscure
problems). This should go into it :-).
Regards -- Markus
next prev parent reply other threads:[~2007-02-03 13:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-02 1:10 Bob Williams
2007-02-02 12:08 ` [Caml-list] " ls-ocaml-developer-2006
2007-02-02 13:21 ` Luc Maranget
2007-02-03 2:29 ` Bob Williams
2007-02-03 9:57 ` Gabriel Kerneis
2007-02-04 0:34 ` Bob Williams
2007-02-03 13:48 ` ls-ocaml-developer-2006 [this message]
2007-02-04 0:46 ` Bob Williams
2007-02-04 10:46 ` ls-ocaml-developer-2006
2007-02-06 7:20 ` Bob Williams
2007-02-02 13:13 ` Vu Ngoc San
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=feirejcpxt.fsf@hod.lan.m-e-leypold.de \
--to=ls-ocaml-developer-2006@m-e-leypold.de \
--cc=caml-list@yquem.inria.fr \
/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).