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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-15 (15:00)
From: Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@y...>
Subject: Re: A nastier example
Il giorno sab, 14/05/2005 alle 17.36 +0200, Marcin 'Qrczak' Kowalczyk ha
> > Can two values of different types be equal ?
> They don't have different types. They both have type exn.

Yes but one usually does not expect structural equality to "equalize"
things with different structure, while the example posted does something
really strange and implementation dependent - I don't know what other
discussions have been around about this so sorry if this is an old
flame :) but exception equality implemented that way makes physical data
structures implementation observable (or am I fooled by something?)


Per rispondermi in privato per favore usate vincenzo_ml at yahoo dot it
To send me a private reply please use vincenzo_ml at yahoo dot it