ocaml-guide / src / intro.org

#+TITLE: OCaml Guide: Introduction
#+AUTHOR: Taylor Venable
#+OPTIONS: H:6 toc:2

* What is this?

Books are a very helpful way to learn a new programming language. But books typically require
somebody to write them, and somebody to publish them. Newer or less popular languages often don't
receive the attention they deserve from publishers, so they tend not to have nice books which new
programmers can learn from. This is detrimental to the growth of the language, making it even less
appealing for publishers. Of course, with this being the Internet age, we can help that somewhat.

The idea for this little electronic book originated with Miran Lipovača, who wrote /Learn You a
Haskell for Great Good!/ Frederic Trottier-Hebert extended this idea to Erlang with /Learn You Some
Erlang/. Another source of inspiration is /Why's (Poignant) Guide to Ruby/.

Basically, OCaml is a complex but awesome language with a complex but awesome toolchain. Examples
can be hard to come by, good ones that are easy to digest even more rare.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.