Version française
Home     About     Download     Resources     Contact us    
Browse thread
[OSR] Exceptionless error management
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: tab@s...
Subject: Re: [Caml-list] [OSR] Exceptionless error management
On Fri, Feb 01, 2008 at 12:31:52PM +0100, Bünzli Daniel wrote:
> On the safety bit I think this is less true if you actually take care to 
> close your variants. However I tend to agree on the clearer separation of 
> cases. I added a request for comments on this at the end of the OSR page to 
> standardize on [ `Value of ... | `Error of ... ] instead of [ `Value of ... 
> | .... ].

but what's wrong with the plain [ Value of ... | Error of ... ] variant
instead of polymorphic variant ?

-- 
Vincent Hanquez