Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Dynamically evaluating OCaml code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Dynamically evaluating OCaml code
> Should I add a few more?  Here are
> some other functions that I have in C, Python, Perl (and, for the most
> part, even Java) that are missing from OCaml:

I'm afraid you haven't checked the OCaml docs before posting, because
some of these are already there.  More specifically:

> realpath()
> asctime()
> strftime()
> strptime()
> basename()
                is Filename.basename
> dirname()
                is Filename.dirname
> localtime()
                is Unix.localtime
> gmtime()
                is Unix.gmtime
> ulimit()
> getaddrinfo()
                is in the works, as part of IPv6 support
> The following flags for recv/recvfrom: 
>   MSG_WAITALL
>   MSG_TRUNC
>   MSG_ERRQUEUE
                the latter two aren't standard (not in SuSv2)
> The following formats for socket():
>   PF_INET6
                in the works as part of IPv6 support
> , PF_PACKET, PF_APPLETALK 
                not standard (not in SuSv2)
> recvmsg()
> mknod()
> mountpoint()
> ioctl()

Also note that ioctl cannot be supported in its full generality
because this function is not typeable.  Only special cases (with a
fixed second argument) can be expressed in OCaml.

Generally speaking, you have some valid points, but these get lost in
a lot of rather inflammatory comments.  I'd be more inclined to listen
to you if this wasn't the case.

- Xavier Leroy

-------------------
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