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

Simplify typing of recommended next tutorials #1967

Merged
merged 2 commits into from Jan 18, 2024
Merged

Conversation

cuihtlauac
Copy link
Collaborator

@cuihtlauac cuihtlauac commented Jan 18, 2024

Make the type of Data.Tutorial.t.recommended_next_tutorial a list
instead of a list option. If the Yaml header is missing or if it
contains an empty list, it will result into a empty list. This avoids
having to handle the Some [] case which is redundant.

Make the type of `Data.Tutorial.t.recommended_next_tutorial` a `list`
instead of an `list option`. If the Yaml header is missing or if it
contains an empty list, it will result into a empty list. This avoids
having to handle the `Some []` case which is redundant.
@sabine sabine merged commit 6e652f6 into main Jan 18, 2024
3 checks passed
@sabine sabine deleted the no-opt-also-read-tutos branch January 18, 2024 11:29
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

2 participants