Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Type visibility limitation in recursive modules
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-12-28 (10:02)
From: Keiko Nakata <keiko@k...>
Subject: Re: [Caml-list] Type visibility limitation in recursive modules

I have not thoroughly read your posts, 
but it looks like the double vision problem. 

You may be interested in the following post to camllist:

By the way, I believe one can hack the OCaml type checker 
to (mostly) avoid the problem by "strengthening" 
the external signature of the recursively defined module 
in the type environment. But this is not particularly beautiful 
since a type constructor may escape its scope, 
although the implementation is kept sound. 

I would be very happy if you could give me a practical example 
which suffers from the double vision problem. 

A happy new year!