Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Yelling
[ 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] Yelling
   
   Anton Moscal writes:
   >
   > This isn't true: you can abbrevaite the later declaration as:
   >    module type BAR = (* This is a subtype of FOO *)
   >      sig
   >        include FOO
   >        val v' : t
   >      end
   > 
   > AFAIK this is not documented and relatively new feature, but its
   > works.
   
It's documented! See 6.10, last line of the grammar for
specification in the ocaml docs.

Bye,

Hendrik

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners