Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] poll - need for a good introductory OCaml book
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-13 (17:01)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] O'Reilly book (was poll - need for a good introductory OCaml book)
> > The appendix of the book is explicitly about ocaml-2.99.  Lots of
> > things changed since, [...]
> >
> > Admittedly, I haven't read the book, but my understanding is that this 
> > book is based on OCaml 2.x. Is it really such a good idea to publish it 
> > as is when OCaml has been at version 3.x for quite some time now?
> Wouldn't it be possible to update the English version of book for Caml
> 3.06 ?

Actually, appendix A in the English version was updated to OCaml 3.04,
which is 3.06 minus the polymorphic methods and record fields.  It
could be updated to 3.06 without much effort.

Everything else uses 2.04 indeed, but OCaml 2.04 is still a (very
large) subset of 3.06, so everything that is described in the book
still applies to 3.06.  And I like the idea that the body of the book
describes and uses a large, stable subset of the language, while some
of the more advanced, less stable features are described separately in
an appendix.

> A useful addition would also be to update the java
> code that displays the solutions to the exercises to work with mozilla
> (only a matter of hours I guess if the LaTeX code is clean).

It's Javascript code, actually, and it is totally impenetrable :-)
Interested Javascript hackers can have a look at
If you manage to get it to work under Mozilla, you'll be thanked

- Xavier Leroy

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: