From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA18802; Thu, 13 Mar 2003 10:36:19 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA18680 for ; Thu, 13 Mar 2003 10:36:18 +0100 (MET) Received: from post.kis.ru (post.kis.ru [195.98.32.206]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h2D9aHf00383 for ; Thu, 13 Mar 2003 10:36:18 +0100 (MET) Received: from [195.98.54.162] (HELO heaven) by post.kis.ru (CommuniGate Pro SMTP 4.0.6) with ESMTP id 1914684; Thu, 13 Mar 2003 12:36:17 +0300 From: "MikhailFedotov" To: "'Martin Weber'" , "'Graham Guttocks'" Cc: Subject: RE: [Caml-list] poll - need for a good introductory OCaml book Date: Thu, 13 Mar 2003 12:36:17 +0300 Message-ID: <001301c2e943$ff12fbb0$a917a8c0@merann.ru> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-reply-To: <20030313073503.GD372@phaeton.entropie.net> X-Spam: no; 0.00; caml-list:01 introductory:99 bug:01 0.0:01 val:01 3.06:01 bool:01 ocaml:01 int:01 float:02 let:04 akin:04 seems:05 tutorial:05 integer:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 = val test_nul_real : [< `Number of float] -> bool = # 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 = 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