From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=AWL,DNS_FROM_RFC_POST, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 40CC5BBAF for ; Fri, 27 Mar 2009 23:14:19 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuABAFjszEnRVcbiimdsb2JhbACCVIpHh0tdPwEBAQoJDAcPBaotgQePZQEDAQODdAaHIw X-IronPort-AV: E=Sophos;i="4.38,435,1233529200"; d="scan'208";a="23425520" Received: from rv-out-0506.google.com ([209.85.198.226]) by mail2-smtp-roc.national.inria.fr with ESMTP; 27 Mar 2009 23:14:18 +0100 Received: by rv-out-0506.google.com with SMTP id g9so1343465rvb.3 for ; Fri, 27 Mar 2009 15:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WkRM5mPFOF09yGQzlbXAlVQDzbygqDZ74IctUj8tj9M=; b=qhM68gdLL3CjSLTv6WoGyHDzRZxtdt/R8szsONTXsojQ88delhzX92cEBuCReF3tSE eCJ1fBoxMpa9QUgt/MKmE4dVfHOV0wTRXnWacPU5tySoDP/x9+uNQVCBRQj4RetQsJK8 etJig+k8vCG0xyZAotLCymMfgQC7bsjfvBSGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=fdssHHDIFcur7pWSIRSNOqn2b76yxdst2HxJiQQGtExjKQDXdI3TTwPqz+zdHXePNY ij+YFvKiNvioKTlzMADS2jg/a9fCptYP0HsqcJJt3nxbNgPa8IPxVLwXOGmFyA6zH7nU xdnquejZ2mAASGspGnMxqQG6Bc/Vifw3MitrM= MIME-Version: 1.0 Received: by 10.140.250.14 with SMTP id x14mr1292878rvh.278.1238192056890; Fri, 27 Mar 2009 15:14:16 -0700 (PDT) Reply-To: xah@xahlee.org In-Reply-To: <364f41440903241242v6dd2244fkbbd1ea8e3b20af60@mail.gmail.com> References: <364f41440903241242v6dd2244fkbbd1ea8e3b20af60@mail.gmail.com> Date: Fri, 27 Mar 2009 15:14:16 -0700 Message-ID: Subject: Re: [Caml-list] questions From: xah lee To: John Prince Cc: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=000e0cd0ed76b6f98b0466210d9e X-Spam: no; 0.00; ocaml:01 ocaml:01 wikipedia:01 wikipedia:01 wiki:01 chailloux:01 manoury:01 oreilly-book:01 syntax:01 notation:01 haskell:01 wiki:01 chailloux:01 manoury:01 oreilly-book:01 X-Attachments: cset="UTF-8" cset="UTF-8" --000e0cd0ed76b6f98b0466210d9e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2009/3/24 John Prince > I'm new to ocaml and coming (most recently) from ruby, ... > Can someone point me to the best resource(s) for newbies? I have been > reading through what's out there, but its always nice to get a > recommendation. > I also started learning OCaml this year. Here's my personal experience and recommendations on tutorial that are freely available: Begin with 20 min reading at Wikipedia to get some context of the lang as perceived by programers in general: =E2=80=A2 http://en.wikipedia.org/wiki/Ocaml The following are quality material, that you can get hands on experience as a intro, each worth about 8 hours of study: =E2=80=A2 Ocaml for Scientists, by Jon Harrop, chapter 1 free: http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html =E2=80=A2 =E2=80=9CIntroduction to Caml=E2=80=9D by Scott Smith of Johns Ho= pkins U. A lecture note. http://www.cs.jhu.edu/~scott/pl/lectures/caml-intro.html The above 2 are similar. Once you did the above, you might want a full length tutorial, treating major aspects of the lang in some detail. Here's = 2 i found available: =E2=80=A2 Developing Applications With Objective Caml, By Emmanuel Chaillou= x - Pascal Manoury - Bruno Pagano at: http://caml.inria.fr/pub/docs/oreilly-book/html/index.html =E2=80=A2 Introduction to Objective Caml, by Jason Hickey, 2008. (draft) http://www.cs.caltech.edu/courses/cs134/cs134b/book.pdf Currently, i'm still reading chapter 2 of the Emmanuel book. Started to read Jason too. (i like concurrently reading multiple references= ) I also started to write my own. Expect it to be in some usable form in a year. It is written for practical programers, and those from so-called =E2=80=9Cscripting=E2=80=9D lang background (e.g. php, perl, python, javasc= ript, Mathematica, newlisp, tcl, ruby), and with the view point that prog langs are primarily syntax (i.e. a computatable math notation.). =E2=80=A2 OCaml Basics http://xahlee.org/ocaml/ocaml_basics.html --------------------------------------- the following are the most visible ocaml tutorials, but are low quality, blog like, full of misleading characterizations, irrevelancies, misleading comparisons. The type that you'd spend hours on and got more confused, regardless whether you are a expert logician or expert industrial programer= . These tutorial's quality and nature are similar to the ones you'd find of the freely bundled official tutorials from perl, java, or even haskell. Typically written as a revised diary of learning experiences by student programers, or by academicians who are llliterate in technical writing. =E2=80=A2 intro to ocaml, from official site http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html =E2=80=A2 =E2=80=9CObjective CAML Tutorial=E2=80=9D, most cited tutorial on= the web http://www.ocaml-tutorial.org/ There are 3 or so more ocaml tutorials i've looked on the web, from the first page of google search with word =E2=80=9Cocaml tutorial=E2=80=9D. I d= on't think they are not worth your time. ------------------------- I'd be good if the ocaml managers perhaps thru some arrangement, to borrow Jon Harrop's chapter 1, or other quality sources, in replacement of the tutorial on the official site. Because, a quailty tutorial bundled with the official release has great impact. The official tutorial makes the first impression of the lang for most people. Xah =E2=88=91 http://xahlee.org/ =E2=98=84 --000e0cd0ed76b6f98b0466210d9e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2009/3/24 John Prince <john.prince@colorado.edu>
I'm new to ocaml and coming (most recently) from ruby,=C2=A0
=C2=A0...
Can someone point me to the = best resource(s) for newbies?=C2=A0 I have been reading through what's = out there, but its always nice to get a recommendation.
=C2=A0
I also started learning OCaml this= year. =C2=A0Here's my personal experience and recommendations on tutor= ial that are freely available:

Begin with 20 min r= eading at Wikipedia to get some context of the lang as perceived by program= ers in general:

The following are qualit= y material, that you can get hands on experience as a intro, each worth abo= ut 8 hours of study:

=E2=80=A2 Ocaml for Scientists, by Jon Harrop, chapter = 1 free:

=E2=80=A2 =E2=80=9CIntroduction to Caml=E2=80=9D by Sco= tt Smith of Johns Hopkins U. A lecture note.

The above 2 are similar. Once you did the above, you mi= ght want a full length tutorial, treating major aspects of the lang in some= detail. Here's 2 i found available:

=E2=80=A2= Developing Applications With Objective Caml, By Emmanuel Chailloux - Pasca= l Manoury - Bruno Pagano at:
=

=E2=80=A2 Introduction to Objective Caml, by Jason Hick= ey, 2008. (draft)

Currently, i'm still reading chapter 2 of the Emmanuel book.
Started to read Jason too. (i like concurrently reading multiple refer= ences)

I also started to write my own. Expect it t= o be in some usable form in a year. It is written for practical programers,= and those from so-called =E2=80=9Cscripting=E2=80=9D lang background (e.g.= php, perl, python, javascript, Mathematica, newlisp, tcl, ruby), and with = the view point that prog langs are primarily syntax (i.e. a computatable ma= th notation.).

=E2=80=A2 OCaml Basics

-----------------------------------= ----

the following are the most visible ocaml tutorials, but are low = quality, blog like, full of misleading characterizations, irrevelancies, mi= sleading comparisons. The type that you'd spend hours on and got more c= onfused, regardless whether you are a expert logician or expert industrial = programer. These tutorial's quality and nature are similar to the ones = you'd find of the freely bundled official tutorials from perl, java, or= even haskell. Typically written as a revised diary of learning experiences= by student programers, or by academicians who are llliterate in technical = writing.

=E2=80=A2 intro to ocaml, from official site

=E2=80=A2 =E2=80=9CObjective CAML Tutorial=E2=80=9D, most cited tutorial on= the web

There are 3 or so more ocaml= tutorials i've looked on the web, from the first page of google search= with word =E2=80=9Cocaml tutorial=E2=80=9D. I don't think they are not= worth your time.

-------------------------

I= 9;d be good if the ocaml managers perhaps thru some arrangement, to borrow = Jon Harrop's chapter 1, or other quality sources, in replacement of the= tutorial on the official site. Because, a quailty tutorial bundled with th= e official release has great impact. The official tutorial makes the first = impression of the lang for most people.

=C2=A0=C2=A0Xah

=E2=98=84
=

--000e0cd0ed76b6f98b0466210d9e--