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
[Caml-list] OCaml 3.05 released
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-07-30 (00:41)
From: Shawn Wagner <shawnw@s...>
Subject: Re: [Caml-list] OCaml 3.05 released
On Mon, Jul 29, 2002 at 02:45:27PM +0200, Xavier Leroy wrote:
> Objective Caml 3.05:
> --------------------
> Language features:
> - Support for polymorphic methods and record fields.
> - Allows _ separators in integer and float literals, e.g. 1_000_000.

Something I've been wanting for a while (And vaguely remember being
discussed on the list a while back) is being able to have literal int32 and
int64 and nativeint values in source files. For example, I have code that
has int32 constants that are too large to fit in a normal caml int, so I'm
stuck doing things like let some_value = Int32.of_string "123456789" at the
moment, which seems icky. For some reason, I was under the impression that
this was going to be in .05. Any chance of it for .06?

> - Unix:
>     use reentrant functions for gethostbyname and gethostbyaddr when available;

Nifty. In a vaguely related note, I'm working off and on on adding support
for IPv6 sockets to the Unix library. I think I just need to finish the
interface code for the C getnameinfo() and getaddrinfo() functions, and do a
merge with the 05 code instead of 04. Is there any interest in making this
part of a future release?

Shawn Wagner
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners