Skip to content
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

chore: consistent maming of type vars and add missing comments #15

Conversation

Alizter
Copy link
Contributor

@Alizter Alizter commented Oct 17, 2023

We make the naming of type variables consistent by using 'tag to emphasize we are talking about the type of tags. We also add documentation to functions in the API that were missing it.

We make the naming of type variables consistent by using 'tag to
emphasize we are talking about the type of tags. We also add
documentation to functions in the API that were missing it.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter force-pushed the ps/branch/chore__consistent_maming_of_type_vars_and_add_missing_comments branch from e494ac6 to 6037e9a Compare October 17, 2023 21:13

(** Same as [text] but take a format string as argument. *)
val textf : ('a, unit, string, _ t) format4 -> 'a
val textf : ('a, unit, string, 'tag t) format4 -> 'a
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out the type of this is correct and it should not return a 'a t.

@rgrinberg rgrinberg merged commit 5197d6e into ocaml-dune:master Oct 17, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants