Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Mixed class / type
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Hendrik Tews <tews@t...>
Subject: Re: [Caml-list] Mixed class / type
Warp writes:
   From: "Warp" <warplayer@free.fr>
   Date: Wed, 30 Jan 2002 17:03:44 +0100
   Subject: [Caml-list] Mixed class / type
   
   type menu = .....
   and
       class wmenuitem : menu -> object ... end
   and
       class wmenu : object ... end
   

The real solution would be to allow variant types and classes (or
at least class types) to be mutually dependent. 

Why is this forbidden in ocaml?

Bye,

Hendrik
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr