Sharing some feedback here for Libraries With Dune · OCaml Documentation
- There’s no need for
touch mixtli.opamas dune will generate the opam file - I’d suggest not to introduce a new domain (clouds and their names) when teaching dune concepts, it will unnecessarily distract from the material. We can stick to simple concepts that everyone is familiar with, like say math (addition, subtraction, etc.:
let add x y = x + yand so on) - There’s no pressing need to introduce
public_namefor the executable stanza, at the beginner level. We can just say that the executable name is the same as its main module - We should mention the most important reason for having wrapper modules for libraries, to avoid module name clashes, i.e. namespacing
Otherwise it looks good and is much needed.