OCaml 2 和 3 之间的差异

发布于 2024-09-29 02:35:00 字数 193 浏览 0 评论 0原文

我有兴趣学习这门语言,但似乎有关该主题的教程和书籍很少。

我只找到一本关于这个主题的合适的书(用 Objective Caml)这绝对是完美的,但问题是它是基于 2.04 版本的。

所以我唯一关心的是使用这本书(对于 OCaml 3.x)是否会出现任何严重问题。或者如果有任何关于 OCaml 的好的在线教程请告诉我。

谢谢

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一紙繁鸢 2024-10-06 02:35:01

这里有一个变更日志。变化不少,但大多是添加新功能或新标准库函数,几乎没有重大变化。所以你可以使用这本书并在 3.x 编译器上尝试一切。

您还可以尝试此在线教程

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.

葬シ愛 2024-10-06 02:35:01

通过这本书你绝对可以学到。
尽管 ocaml 3.x 中引入了许多新内容,但我认为作为初学者您不会遇到这些内容。

习惯该语言的概念。稍后您可以查看新功能。

请参阅http://caml.inria.fr/ocaml/release.en.html 了解更多信息。

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.

双手揣兜 2024-10-06 02:35:01

仅供参考,有很多关于 OCaml 的书籍:

  1. OCaml科学家
  2. 实用 OCaml
  3. OCam 简介l - 自由草稿

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
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文