From: sejourne_kevin <sejourne_kevin@yahoo.fr>
To: Serge <serge@shade.msu.ru>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Worsening standard library
Date: Wed, 03 Nov 2004 23:22:57 +0000 [thread overview]
Message-ID: <41896851.1060104@yahoo.fr> (raw)
In-Reply-To: <Pine.LNX.4.10.10411032359200.17861-100000@shade.msu.ru>
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
prev parent reply other threads:[~2004-11-03 22:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 21:11 Serge
2004-11-03 21:21 ` [Caml-list] " David Brown
2004-11-03 21:37 ` Serge
2004-11-03 22:31 ` Manos Renieris
2004-11-03 23:22 ` sejourne_kevin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41896851.1060104@yahoo.fr \
--to=sejourne_kevin@yahoo.fr \
--cc=caml-list@inria.fr \
--cc=serge@shade.msu.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox