Browse thread
[Caml-list] poll - need for a good introductory OCaml book
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | MikhailFedotov <mikhail@k...> |
| Subject: | RE: [Caml-list] poll - need for a good introductory OCaml book |
Hi! > > [reposting, as the first one didn't seem to go through] > > > > There seems to me clearly, a lack of a good, tutorial style, > > introductory book about OCaml in English. Something akin to > > ``Programming Perl'' (as someone mentioned). > > (...) > > Mind explaining what's wrong with ``Developing Applications > in Ocaml'' ? The introductory part of reference manual reads easier. And there is a bug too in the book (at least one, I don't know if there are more): # let test_nul_integer = function `Number n -> n=0 and test_nul_real = function `Number r -> r=0.0 ;; val test_nul_integer : [< `Number of int] -> bool = <fun> val test_nul_real : [< `Number of float] -> bool = <fun> # let test_nul x = (test_nul_integer x) || (test_nul_real x) ;; (the next line is wrong - ocaml 3.06 won't allow this): val test_nul : [< `Number of float & int] -> bool = <fun> Reference manual explains where is the bug... Mikhail ------------------- 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