English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] using arguments insides functors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-03 (13:01)
From: nakata keiko <keiko@k...>
Subject: Re: [Caml-list] using arguments insides functors
> Because "include" only applies to modules that are structures, since it 
> is meant to copy its fields to the current scope. In your example 
> however, Elt has some abstract module type T, so it does not meet that 
> requirement. What should the include mean if you applied the outer F like
>    F (struct module type T = functor (X : sig end) -> sig end end)
> ? And how could you express the result type of F without knowing the 
> structure of Elt?
> Cheers,
> 	- Andreas
Mm-hm, I see.
Thank you.


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