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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-01 (18:37)
From: Bünzli_Daniel <daniel.buenzli@e...>
Subject: Re: [Caml-list] [OSR] Exceptionless error management

Le 1 févr. 08 à 16:59, Vincent Hanquez a écrit :

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

If it is not defined in Pervasives you have to redefine in it every  
module that follows the recommendation and prefix with module names on  
matching. Annoying.

Now if you know how to get something new accepted in Pervasives I have  
no problem with a plain variant type.