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] a design problem requiring downcasting? (long)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-26 (16:34)
From: Oleg <oleg_inconnu@m...>
Subject: Re: [Caml-list] a design problem requiring downcasting? (long)
On Thursday 26 September 2002 05:01 am, Michael Vanier wrote:
> The problem is, every time that a new class is added you have to modify the
> variant type.

Not with polymorphic variants AFAIK. Have you considered using them?

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