caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Vincent Aravantinos <vincent.aravantinos@yahoo.fr>
To: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Is this a known bug or change in 3.10
Date: Mon, 1 Oct 2007 18:59:13 +0200	[thread overview]
Message-ID: <AC5E6914-2908-4A86-BD1A-B814E606E2F8@yahoo.fr> (raw)
In-Reply-To: <470125F1.5000205@univ-savoie.fr>

I've got the same with a compiled from source 3.10 on OSX; so this  
this does not come from the unstable state of the fink package.

Le 1 oct. 07 à 18:53, Christophe Raffalli a écrit :

> Here is the correct one:
>
> When I try to compile the following file (under OS X with ocaml 3.10
> from fink unstable,
> This is my only 3.10 installed ...)
>
> --- File testbug.ml ---
> module type Var =
>   sig
>     type t
>     val compare: t -> t -> int
>   end
>
> module PathVar = struct
>   type t = string list
>   let compare = compare
> end
>
>
> module Make(Var: Var) = struct
>   type prop =
>       True | False
> end
>
> module Prop = Make(PathVar)
>
> let _ = Prop.True
> ---------------------------
>
> I get
>
> $ ocamlc -pp camlp4o -c testbug.ml
> File "testbug.ml", line 21, characters 8-17:
> Unbound constructor Prop. True
>
> This seems to be related to the conjunction of three things:
> - constant constructor
> - functor and
> - camlp4o  ?
>
> -- 
> Christophe Raffalli
> Universite de Savoie
> Batiment Le Chablais, bureau 21
> 73376 Le Bourget-du-Lac Cedex
>
> tel: (33) 4 79 75 81 03
> fax: (33) 4 79 75 87 42
> mail: Christophe.Raffalli@univ-savoie.fr
> www: http://www.lama.univ-savoie.fr/~RAFFALLI
> ---------------------------------------------
> IMPORTANT: this mail is signed using PGP/MIME
> At least Enigmail/Mozilla, mutt or evolution
> can check this signature. The public key is
> stored on www.keyserver.net
> ---------------------------------------------
>
>
> <signature.asc>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
> <Christophe.Raffalli.vcf>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


  reply	other threads:[~2007-10-01 16:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 16:53 Christophe Raffalli
2007-10-01 16:59 ` Vincent Aravantinos [this message]
2007-10-01 17:10 ` Christophe Raffalli
     [not found] ` <E29B167D-0775-4082-A21F-55A4CF10A766@iais.fraunhofer.de>
2007-10-01 17:24   ` Christophe Raffalli
  -- strict thread matches above, loose matches on Subject: below --
2007-10-01 16:35 Christophe Raffalli
2007-10-01 16:45 ` [Caml-list] " Christophe Raffalli

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=AC5E6914-2908-4A86-BD1A-B814E606E2F8@yahoo.fr \
    --to=vincent.aravantinos@yahoo.fr \
    --cc=Christophe.Raffalli@univ-savoie.fr \
    --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).