Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] assertions or exceptions?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Radu Grigore <radugrigore@g...>
Subject: Re: [Caml-list] Unboxing options, was RE: assertions or exceptions?
On Thu, 15 Jul 2004 13:20:00 -0400, John Prevost <j.prevost@gmail.com> wrote:

> This has been discussed before.  The essential problem is this:
> 
> Currently:
> type 'a option is not the same as type 'a option option [...]
> 
> With unboxed options:
> type 'a option is the same as type 'a option option [...]

Heh.. This is an inconsistency in the current C# 2.0 spec :) (see
nullable types) By inconsistency I mean that it is not clear what is
the intended behaviour.

regards,
 radu

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners