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
Arg-module: Float-Args also accept integer values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-08-08 (20:57)
From: Oliver Bandel <oliver@f...>
Subject: Arg-module: Float-Args also accept integer values
Is this a wanted behaviour?
It's an implicit conversion from the integer value in the cli-string
to float. Even if this is very convenient for a user, it is not
completely following OCaml's philosophy (regarding types).

Any idea on this?!

Ciao,
   Oliver