Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use polymorphic variant for Platform.os#771

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
MoOx merged 1 commit intomainfromplatform-polyvar
Oct 5, 2022
Merged

Conversation

@cknitt
Copy link
Member

While we are at it, here is another breaking change that we could release with the ReScript 10 version.

Since polymorphic variants are compiled to strings, we can makePlatform.os a polymorphic variant, enabling pattern matching on it.

@cknittcknitt added this to the0.70 / rescript 10 milestoneSep 15, 2022
@cknittcknitt requested a review fromMoOxSeptember 15, 2022 17:20
Copy link
Member

@MoOxMoOx left a comment

Choose a reason for hiding this comment

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

Great ! Thanks again !

@MoOxMoOx merged commitb189fbc intomainOct 5, 2022
@MoOxMoOx deleted the platform-polyvar branchOctober 5, 2022 13:26
MoOx added a commit that referenced this pull requestOct 5, 2022
* main:  Use polymorphic variant for Platform.os (#771)  Get rid of @string/@int for polyvars (#770)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@MoOxMoOxMoOx approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@cknitt@MoOx

[8]ページ先頭

©2009-2025 Movatter.jp