News for hackers. Stuff that matters.
Re:OCaml 4.10 by johnisgood on Sunday February 23, 2020 @09:42PM (#22401205)
> Wasn't `oasis` the legacy way of building projects? Thought everyone used `dune` now?

Yeah, I believe new projects tend to use dune, and some older projects have switched from OASIS to dune. I personally still use OASIS mainly due to laziness. :D

> But I need a quality material on everything you can do with `dune`. Can you recommend such?

I have not used dune myself, but a quick glance at these sites suggests that they may be quite useful:

- https://dune.build/

- https://dune.build/examples

- https://dune.readthedocs.io/en/stable/

- https://github.com/ocaml/dune/blob/master/doc/quick-start.rs...

- https://github.com/ocaml/dune/tree/master/example

- https://ocamlverse.github.io/content/quickstart_ocaml_projec...

- https://medium.com/@bobbypriambodo/starting-an-ocaml-app-pro...

For opam:

- https://opam.ocaml.org/doc/FAQ.html

- https://opam.ocaml.org/doc/Packaging.html

- https://opam.ocaml.org/doc/Manual.html

- https://github.com/ocaml/opam/tree/master/tests/packages

I hope this helps.

Re:OCaml 4.10 by pdimitar on Sunday February 23, 2020 @11:02PM (#22401540)
It actually does. Thank you!

As I mentioned in a sibling comment, last time I seriously attempted getting more into OCaml has been at least half a year ago. I either didn't find some of those materials or they have been improved in the meantime.

Whatever the case, I can see clearly now that I was wrong about the poor quality of the dune and opam teaching material.

I apologise for that. And I'll be making a comeback to OCaml. I mean, it still has roadblocks but they are easier to overcome when tooling is handled (minus the lack of the multicore support but fingers crossed that that's coming soon).