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
[Caml-list] Fully qualified polymorphic variants
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-07-11 (10:22)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Fully qualified polymorphic variants
> I've been trying to use polymorphic variants with fully qualified names, with no luck.
> I've tried the possibilities obvious to me, like: (example of using Pcre)
>   `Pcre.CASELESS
>   Pcre.`CASELESS
>   `(Pcre.CASELESS)
>   Pcre.(`CASELESS)

The point about polymorphic variants is that you don't have to qualify

The solution is `CASELESS, independent of the context.

Jacques Garrigue
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr