Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
        http://caml.inria.fr/oreilly-book/html/videoc.js
If you manage to get it to work under Mozilla, you'll be thanked
profusely.

- 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