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
Worsening standard library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-11-03 (22:32)
From: Manos Renieris <er@c...>
Subject: Re: [Caml-list] Worsening standard library

are all in Pervasives.

-- Manos

On Thu, Nov 04, 2004 at 12:11:08AM +0300, Serge wrote:
> Gentlemen!
> I think this might be kinda offtopic, but nevertheless. OCaml is being
> extensively employed for educational purposes, and it looks like it is
> still missing an important feature - the one of easy reading numbers
> (integers/floats/doubles) from, say, standard input. You have to read
> lines and parse numbers out of them. For instance, in Pascal it was
> possible to do "read(x)". 
> Absence of such feature distracts people from trying to program sensible
> things in OCaml. It would be nice to have such functionality in the
> standard library.
> I do not wish to start a rant like "let us include simplex method in the
> std since it is gravely important" etc., but I do think that _ability to
> read numbers from stdin in a standard way_ is very important for the
> language like OCaml - because students want it very much, and it is not
> ugly in any way.
> -------------------------------------------------------------------------------
>  Serge S. Bityukov, Moscow State University, Dept of Mechanics and Mathematics
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs