[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-11-03 (22:17) |
From: | sejourne_kevin <sejourne_kevin@y...> |
Subject: | Re: [Caml-list] Worsening standard library |
Serge a écrit : > 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)". There is some functions for doing that: Pervasives.read_line Pervasives.read_int Pervasives.read_float