From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA10346 for caml-redistribution@pauillac.inria.fr; Wed, 3 Nov 1999 21:53:44 +0100 (MET) Resent-Message-Id: <199911032053.VAA10346@pauillac.inria.fr> Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA30211 for ; Mon, 1 Nov 1999 13:26:32 +0100 (MET) Received: from hugo.int-evry.fr (hugo.int-evry.fr [157.159.100.81]) by concorde.inria.fr (8.8.7/8.8.7) with ESMTP id NAA24002 for ; Mon, 1 Nov 1999 13:26:32 +0100 (MET) Received: from (rinderkn@localhost) by hugo.int-evry.fr (8.8.8/jtpda-5.3) id NAA05405 for caml-list@pauillac.inria.fr; Mon, 1 Nov 1999 13:26:26 +0100 (MET) Date: Mon, 1 Nov 1999 13:26:25 +0100 From: Christian RINDERKNECHT To: caml-list@pauillac.inria.fr Subject: "let module" missing in class expressions. Message-ID: <19991101132625.A5352@hugo.int-evry.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.95.5i Resent-From: weis@pauillac.inria.fr Resent-Date: Wed, 3 Nov 1999 21:53:44 +0100 Resent-To: caml-redistribution@pauillac.inria.fr 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