English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Polymorphic method and polymorphic type
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-03-17 (12:26)
From: SerP <serp@s...>
Subject: Re: [Caml-list] Polymorphic method and polymorphic type
but if we use simple variant type instead of polymorphic variants it 
works perfect

type 'a get_mode = [ Read | Watch of (#getter as 'a)];;