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

Explain why t-first works with labels #2157

Merged
merged 9 commits into from Mar 11, 2024

Conversation

mikhailazaryan
Copy link
Contributor

This change solves #2083 by adding the explanation with examples in the Labelled and Optional Arguments tutorial.

This change solves ocaml#2083 by adding the explanation with examples in the Labelled and Optional Arguments tutorial.
@mikhailazaryan mikhailazaryan changed the title explain why t-first works with labels #2083 Explain why t-first works with labels #2083 Mar 10, 2024
@mikhailazaryan mikhailazaryan changed the title Explain why t-first works with labels #2083 Explain why t-first works with labels Mar 10, 2024
Copy link
Collaborator

@cuihtlauac cuihtlauac left a comment

Choose a reason for hiding this comment

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

Thanks @mikhailazaryan, this is really useful. I'm proposing a couple of changes. I believe explaining the motivation for t-first function signatures is needed.

data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
mikhailazaryan and others added 4 commits March 11, 2024 11:16
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
@mikhailazaryan
Copy link
Contributor Author

Thanks for the feedback. I adjusted the text, taking your remarks into account.

data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
data/tutorials/language/0it_04_labels.md Outdated Show resolved Hide resolved
mikhailazaryan and others added 4 commits March 11, 2024 16:14
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
Co-authored-by: Cuihtlauac Alvarado <cuihtlauac@users.noreply.github.com>
@mikhailazaryan
Copy link
Contributor Author

Fixed

Copy link
Collaborator

@cuihtlauac cuihtlauac left a comment

Choose a reason for hiding this comment

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

Thanks @mikhailazaryan, this is very helpful

@cuihtlauac cuihtlauac merged commit f4b7302 into ocaml:main Mar 11, 2024
1 check passed
@mikhailazaryan
Copy link
Contributor Author

Thank you too for your remarks @cuihtlauac

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.

None yet

3 participants