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] Questions about types and objects
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Questions about types and objects
On Tue, Feb 03, 2004 at 12:07:31PM +1000, Richard Cole wrote:
> From an expression:
>      diagram#make_from_hasse lattice;

You need to upcast it.  I've never really understood why this is

diagram#make_from_hasse (lattice :> abstract_hasse_diagram);


Richard Jones.
Merjis Ltd. - improving website return on investment
Perl4Caml lets you use any Perl library in your type-safe Objective
CAML programs.

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