From: Andrej Bauer <Andrej.Bauer@andrej.com>
To: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] using functors in objects
Date: Fri, 11 Apr 2008 13:59:30 +0200 [thread overview]
Message-ID: <47FF52A2.8020406@andrej.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0804110947230.15825@serveur9-10.lri.fr>
Julien Signoles wrote:
> $ ocamlc -v
> The Objective Caml compiler, version 3.10.1
> Standard library directory: /home/jsignole/local/godi/lib/ocaml/std-lib
> $ ocamlc -o modclass modclass.ml
> $ ./modclass
> Fatal error: exception Undefined_recursive_module("modclass.ml", 23, 2)
Oh my god! What ever happened to safety?! You know, the little theorem
that says "If a program is well typed then it does not explode in your
face".
I naively thought it would work because it compiled. Yuck!
Andrej
prev parent reply other threads:[~2008-04-11 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-10 0:52 Jacques Le Normand
2008-04-10 12:05 ` [Caml-list] " Andrej Bauer
2008-04-11 7:52 ` Julien Signoles
2008-04-11 11:59 ` Andrej Bauer [this message]
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=47FF52A2.8020406@andrej.com \
--to=andrej.bauer@andrej.com \
--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