From: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
To: caml-list@yquem.inria.fr
Subject: bug with 3.09 ... how to avoid ?
Date: Sat, 12 Jan 2008 13:27:50 +0100 [thread overview]
Message-ID: <4788B246.4060000@univ-savoie.fr> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1840 bytes --]
The following file works with 3.10 camlp4 but not 3.09 camlp4 (it works
in 3.09.2 without camlp4) ...
Does anyone knows a way to avoid the bug if I want my code to compile
with the default installation of 3.09 ?
Here is the error:
raffalli@d45:~/Caml/pml/src$ ocamlc -pp camlp4o -c iset.mli
File "iset.mli", line 31, characters 57-70:
Failure: bad module expr long ident
Uncaught exception: Failure("bad module expr long ident")
Preprocessor error
------------- iset.mli -------------
(* Finite of Cofinite set library by C. Raffalli *)
(* Meaningless for a finite type for elt !!! *)
module type S =
sig
module FSet : Set.S
type elt = FSet.elt
type t =
In of FSet.t
| Out of FSet.t
val empty: t
val all : t
val is_empty: t -> bool
val is_all: t -> bool
val mem: elt -> t -> bool
val add: elt -> t -> t
val singleton: elt -> t
val remove: elt -> t -> t
val complement:t -> t
val union: t -> t -> t
val inter: t -> t -> t
val diff: t -> t -> t
val compare: t -> t -> int
val equal: t -> t -> bool
val subset: t -> t -> bool
end
module Make(Ord: Set.OrderedType) : S with module FSet = Set.Make(Ord)
and type elt = Ord.t
-------------------------------
Thanks for any help
--
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
---------------------------------------------
[-- Attachment #1.2: Christophe_Raffalli.vcf --]
[-- Type: text/x-vcard, Size: 310 bytes --]
begin:vcard
fn:Christophe Raffalli
n:Raffalli;Christophe
org:LAMA (UMR 5127)
email;internet:christophe.raffalli@univ-savoie.fr
title;quoted-printable:Ma=C3=AEtre de conf=C3=A9rences
tel;work:+33 4 79 75 81 03
note:http://www.lama.univ-savoie.fr/~raffalli
x-mozilla-html:TRUE
version:2.1
end:vcard
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
reply other threads:[~2008-01-12 12:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4788B246.4060000@univ-savoie.fr \
--to=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