Differences between OCaml 2 and 3

2019-07-13 02:01发布

I'm interested in learning this language, but it seems that there is very few tutorials and books on the subject.

I've found only one suitable book on the subject (Developing Applications With Objective Caml) which would be absolutely perfect but the problem is that it is based on version 2.04.

So my only concern is if there would not be any serious problems with using this book, for OCaml 3.x. Or if there are any good tutorials concerning OCaml online please let me know.

Thank you

标签: ocaml
3条回答
ゆ 、 Hurt°
2楼-- · 2019-07-13 02:06

There's a changelog here. There's been quite a few changes, but they are mostly the addition of new features or new standard library functions, and there are almost no breaking changes. So you could use the book and try everything on a 3.x compiler.

You could also try this online tutorial.

查看更多
再贱就再见
3楼-- · 2019-07-13 02:18

You can definitely learn by this book. Although many new things were introduced in ocaml 3.x I don't think that you will run into these as a beginner.

Get used to the language's concepts. Later on you can checkout the new features.

See http://caml.inria.fr/ocaml/release.en.html for further information.

查看更多
一夜七次
4楼-- · 2019-07-13 02:29

Just for the reference, there are a bunch of books available for OCaml:

  1. OCaml for Scientists
  2. Practical OCaml
  3. Introduction to OCaml - free draft
查看更多
登录 后发表回答