caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
To: Haoyang Wang <hywang@pobox.com>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] First mandatory and safe use of Obj ?
Date: Thu, 23 Jan 2014 23:22:11 +0100	[thread overview]
Message-ID: <20140123222210.GA25365@delli7.univ-savoie.fr> (raw)
In-Reply-To: <590081CE-54BB-4C2F-8E38-3EBFF5F7FDED@pobox.com>

[-- Attachment #1: Type: text/plain, Size: 497 bytes --]

On 14-01-23 12:53:24, Haoyang Wang wrote:
> > module type MType = module type of MyFunctor (struct let env =  Obj.magic 0 end)
> > 
> > This works well and Obj.magic is never run ...
> 
> raise an exception instead?

or assert false, I will do that.
 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2014-01-23 22:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 16:18 Christophe Raffalli
2014-01-23 20:53 ` Haoyang Wang
2014-01-23 22:22   ` Christophe Raffalli [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=20140123222210.GA25365@delli7.univ-savoie.fr \
    --to=christophe.raffalli@univ-savoie.fr \
    --cc=caml-list@inria.fr \
    --cc=hywang@pobox.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).