-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for the Midi module #5
Comments
Okay,thanks @pitag-ha |
Hiii @pitag-ha, I'm Joy from Outreachy. I've also gone through the mirage repository, where I went through the key.mli file, and the argv.mli to grasp the concept of the documentation.
|
As mentioned in #3, I've just assigned you @Mojoeffect, to this issue, and you, @AryanGodara to #3 to avoid duplicating work.
Sounds great. Don't hesitate to ask if you're stuck with anything! By the way, if you want, as a first step, you can skip the documentation for |
Hi @Mojoeffect, please what's the name of the book you are using to study OCaml? |
Hey @kamtoeddy , most people are offline during the weekend I think :D |
Hey, @kamtoeddy |
@AryanGodara @Mojoeffect Thanks |
Hiiiiii |
We currently don't have a hygienic structure for
cardio-crumble
, yet. One thing is that we don't have interface files (i.e. mli-files) for all implementation files (i.e. ml-files). And for the mli-files we have, we don't have documentation.As a first step to approach this, I propose to add documentation to the
midi.mli
-file. In OCaml, you mark documentation by(** <your documentation *)
. You can have a look at the mli-files of, for example, the mirage repo to see some examples for documentation in OCaml.In general, to write API documentation, one needs to formulate the idea of what the values/types are for, as opposed to putting the implementation of the values/types into words.
The text was updated successfully, but these errors were encountered: