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
Re: [Caml-list] Improving OCaml's choice of type to display
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-10-09 (14:45)
From: Vincent Aravantinos <vincent.aravantinos@g...>
Subject: Re: [Caml-list] Improving OCaml's choice of type to display

can't you just say that you spotted a problem in the proposed solution  
instead of being so aggressive?

Removing all the useless sentences of your message just leave this:

Le 9 oct. 09 à 16:18, Damien Guichard a écrit :

> Imagine my code is:
>   type color = int
>   let black : color = 0
> Then, following your proposition, evaluating black should give me an  
> int rather than a color because int is shorter and therefore nicer.

which is indeed relevant and exposes a problem not faced in the  
previous mails.