caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* "let module" missing in class expressions.
@ 1999-11-01 12:26 Christian RINDERKNECHT
  0 siblings, 0 replies; only message in thread
From: Christian RINDERKNECHT @ 1999-11-01 12:26 UTC (permalink / raw)
  To: caml-list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-11-03 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-01 12:26 "let module" missing in class expressions Christian RINDERKNECHT

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).