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
Preferred use of Invalid_argument and Failure
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-24 (11:30)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] Preferred use of Invalid_argument and Failure

On Oct 24, 2007, at 12:05 PM, Yaron Minsky wrote:

> Where I work, we have come to dearly love the practice of returning  
> polymorphic variants with explicit  variants for various "normal"  
> error cases.

Can you elaborate? Are your explicit variants still polymorphic?