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
[OSR] Exceptionless error management, take 2
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-08 (10:52)
From: rlehy@f...
Subject: Re: [Caml-list] [OSR] Exceptionless error management, take 2
Selon Vincent Hanquez <>:
> On Fri, Feb 08, 2008 at 12:17:29AM +0900, Jacques Garrigue wrote:
> > And [polymorphic variants] _cannot_ pollute any namespace,
> > since they define nothing.
> they "pollute" since the polymorphic variant namespace is flat, and
> don't interact with module (on purpose obviously)

Could you please expand on this "pollution" and the *practical* problems it
causes? I can see the risk of my own identifiers clashing with those of a
library, and that finding documentation when the namespace is flat is harder.
But none of these seem applicable for polymorphic variants, so I feel like I'm
missing something.