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
[Caml-list] Re: OCAML Downcasting?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] Re: OCAML Downcasting?
Brian Hurt <> writes:

>> Apply this reasoning to the exn type. Why don't you define all exn
>> constructors in one place?
> Ignoring the fact that exceptions are built into the language, I'd read
> section 4.2 "Polymorphic Variants" of the Ocaml language manual for how to
> get around this.

It helps only in some cases. In particular it's not expressive enough
to replace exn.

   __("<         Marcin Kowalczyk

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: