-
Notifications
You must be signed in to change notification settings - Fork 41
Description
The documentation for kappa-library is lacking in many places and it would be great if we can launch a collective, incremental effort to improve it. I would be happy to submit PRs myself every time I get explained something or end up figuring it out by myself.
I am not talking about doing anything fancy here but simply making sure that all public-facing API functions are properly explained: what are the arguments (when nonobvious from the type), what is the returned value, what exceptions could be thrown, what are other related functions to be aware of...
For example, I am struggling right now with the absence of documentation for the following function in Edges.mli:
val get_connected_component : int -> t -> int option
Why does this return an option? When is this function expected to return None? Can it also raise exceptions (i.e. if connected components are not supported or the agent ID is invalid)?