Date: Mon, 1 Nov 1999 13:26:25 +0100
From: Christian RINDERKNECHT <rinderkn@hugo.int-evry.fr>
To: caml-list@pauillac.inria.fr
Subject: "let module" missing in class expressions.
Hello,
I have a little wish for the next release: I would appreciate the
construct "let module " to be allowed in class expressions...
At the moment I get:
Objective Caml version 2.02
# class c =
let module M = struct end
^^^^^^
in object end
;;
Syntax error
#
Note that this works in "initializer" clauses:
# class c =
object
initializer
let module M = struct end
in ()
end
;;
class c : object end
#
Best regards,
Christian
-----------------------------------------------------------------------
Christian Rinderknecht Phone +33 (0)1 60 76 44 43
Institut National des Télécommunications Fax +33 (0)1 60 76 47 11
Département Logiciels Réseaux (LOR) WWW
9, Rue Charles Fourier, F-91011 Évry Cedex
This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:28 MET