From: Serge <serge@shade.msu.ru>
To: caml-list@inria.fr
Subject: Worsening standard library
Date: Thu, 4 Nov 2004 00:11:08 +0300 (MSK) [thread overview]
Message-ID: <Pine.LNX.4.10.10411032359200.17861-100000@shade.msu.ru> (raw)
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
next reply other threads:[~2004-11-03 21:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-03 21:11 Serge [this message]
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
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=Pine.LNX.4.10.10411032359200.17861-100000@shade.msu.ru \
--to=serge@shade.msu.ru \
--cc=caml-list@inria.fr \
/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