3 ms·
> 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
by johnisgood 7y ago
> 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/
- https://dune.build/examples https://dune.build/examples
- https://dune.readthedocs.io/en/stable/ https://dune.readthedocs.io/en/stable/
- https://github.com/ocaml/dune/blob/master/doc/quick-start.rst https://github.com/ocaml/dune/blob/master/doc/quick-start.rs...
- https://github.com/ocaml/dune/tree/master/example https://github.com/ocaml/dune/tree/master/example
- https://ocamlverse.github.io/content/quickstart_ocaml_project_dune.html https://ocamlverse.github.io/content/quickstart_ocaml_projec...
- https://medium.com/@bobbypriambodo/starting-an-ocaml-app-project-using-dune-d4f74e291de8 https://medium.com/@bobbypriambodo/starting-an-ocaml-app-pro...
For opam:
- https://opam.ocaml.org/doc/FAQ.html https://opam.ocaml.org/doc/FAQ.html
- https://opam.ocaml.org/doc/Packaging.html https://opam.ocaml.org/doc/Packaging.html
- https://opam.ocaml.org/doc/Manual.html https://opam.ocaml.org/doc/Manual.html
- https://github.com/ocaml/opam/tree/master/tests/packages https://github.com/ocaml/opam/tree/master/tests/packages
I hope this helps.
- pdimitar 7y agoIt 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).