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

Turn off uncurried#778

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

Open
cristianoc wants to merge2 commits intomaster
base:master
Choose a base branch
Loading
fromturn_off_uncurried
Open

Turn off uncurried#778

cristianoc wants to merge2 commits intomasterfromturn_off_uncurried

Conversation

@cristianoc
Copy link
Collaborator

Based on#777 but where unhurried is turned off.

"tags": [],
"detail": "type nullable<+'a>",
"documentation":{"kind": "markdown", "value": "\n A value of this type can be undefined,null or 'a. This type is equivalent to Js.Null_undefined.t.\n"}
"detail": "type nullable<'a> = Value('a) | Null | Undefined",
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

@zth we lost the+ here.

Copy link
Member

Choose a reason for hiding this comment

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

Right, that's... weird. Don't think we changed the+ in the implementation...

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Looks like this is the intended printing, inherited from OCaml, which only prints the+ when the type is abstract:

#type 'a t1;;type'a t1#type+'a t2;;type+'a t2#type+'a t2= |A;;type'a t2=A

Copy link
Member

Choose a reason for hiding this comment

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

Interesting! That's good to know 😀

@cristianoccristianoc requested a review fromzthMay 26, 2023 01:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@zthzthAwaiting requested review from zth

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@cristianoc@zth

[8]ページ先頭

©2009-2025 Movatter.jp