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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Re: about toplevels
Hi,

On Wed, Jan 23, 2002 at 10:35:34AM +0100, Christian Gillot wrote:

> 3. the exceptions are NOT polymorphics 
> exception of 'a list is WRONG.

If they were, they could break the type system:

   exception Foo of 'a list;;
   try raise Foo [3] with Foo l -> "abc" :: l;;

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr