caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: xah lee <xahlee@gmail.com>
To: John Prince <john.prince@colorado.edu>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] questions
Date: Fri, 27 Mar 2009 15:14:16 -0700	[thread overview]
Message-ID: <aa6b5cbe0903271514m5ac05c6ge705478c2cd974a7@mail.gmail.com> (raw)
In-Reply-To: <364f41440903241242v6dd2244fkbbd1ea8e3b20af60@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3435 bytes --]

2009/3/24 John Prince <john.prince@colorado.edu>

> 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:
• 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:

• Ocaml for Scientists, by Jon Harrop, chapter 1 free:
http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html

• “Introduction to Caml” by Scott Smith of Johns Hopkins 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:

• Developing Applications With Objective Caml, By Emmanuel Chailloux -
Pascal Manoury - Bruno Pagano at:
 http://caml.inria.fr/pub/docs/oreilly-book/html/index.html

• 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
“scripting” 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 math notation.).

• 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.

• intro to ocaml, from official site
http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html

• “Objective CAML Tutorial”, 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 “ocaml tutorial”. I don'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
∑ http://xahlee.org/[-- Attachment #2: Type: text/html, Size: 4928 bytes --]

  parent reply	other threads:[~2009-03-27 22:14 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 19:42 questions John Prince
2009-03-24 20:42 ` [Caml-list] questions Stéphane Glondu
2009-03-24 20:44 ` Jon Harrop
2009-03-25  0:17 ` Richard Jones
2009-03-25  1:11   ` Daniel Bünzli
2009-03-25  0:24 ` questions Michael Ekstrand
2009-03-25  5:45 ` [Caml-list] questions David Rajchenbach-Teller
2009-03-25 17:16   ` John Prince
2009-03-27 22:14 ` xah lee [this message]
2009-03-31 13:37   ` Kuba Ober
2009-03-31 14:44     ` Martin Jambon
2009-04-01 13:49       ` Thomas Gazagnaire
2009-04-01 19:13       ` David MENTRE
2009-04-01 19:27         ` Jon Harrop
2009-04-01 20:23           ` Re : " Matthieu Wipliez
2009-04-02  7:20             ` David MENTRE
2009-04-02  8:06               ` LLC book [was: Questions] Xavier Leroy
2009-04-02  8:23                 ` [Caml-list] " Alp Mestan
2009-04-04 17:17             ` Re : [Caml-list] questions Kuba Ober
2009-03-31 16:31     ` Xavier Leroy
2009-04-01  9:14       ` FALCON Gilles RD-RESA-LAN
2009-04-01 12:59         ` Mihamina Rakotomandimby (R12y)
2009-04-01 16:45           ` Kuba Ober
2009-04-01 13:13         ` Xavier Leroy
2009-04-01 13:42           ` Till Varoquaux
2009-04-01 16:29         ` Kuba Ober
2009-04-01 15:17       ` xahlee
2009-04-02 10:35       ` Florian Hars
2009-03-31 21:18     ` Jon Harrop
  -- strict thread matches above, loose matches on Subject: below --
2006-11-06 18:51 questions Igor Ozerov
2006-11-06 23:18 ` [Caml-list] questions Richard Jones
2006-11-07  8:55   ` Richard Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa6b5cbe0903271514m5ac05c6ge705478c2cd974a7@mail.gmail.com \
    --to=xahlee@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=john.prince@colorado.edu \
    --cc=xah@xahlee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).