OCaml 2 和 3 之间的差异
我有兴趣学习这门语言,但似乎有关该主题的教程和书籍很少。
我只找到一本关于这个主题的合适的书(用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这里有一个变更日志。变化不少,但大多是添加新功能或新标准库函数,几乎没有重大变化。所以你可以使用这本书并在 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.
通过这本书你绝对可以学到。
尽管 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.
仅供参考,有很多关于 OCaml 的书籍:
Just for the reference, there are a bunch of books available for OCaml: