-
Notifications
You must be signed in to change notification settings - Fork 470
More deprecations in Pervasives; add Stdlib.Pair and Stdlib.Int.Ref #7371
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
Changes from 6 commits
e51c61a
c6142a3
e5ea4bf
6859e05
6793a52
6a84bd1
e09ba98
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* This output is empty. Its source's type definitions, externals and/or unused code got optimized away. */ |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what was the original reasoning behind There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,3 +107,10 @@ external shiftRight: (int, int) => int = "%asrint" | |
external shiftRightUnsigned: (int, int) => int = "%lsrint" | ||
|
||
external ignore: int => unit = "%ignore" | ||
|
||
module Ref = { | ||
type t = ref<int> | ||
|
||
external increment: ref<int> => unit = "%incr" | ||
external decrement: ref<int> => unit = "%decr" | ||
} | ||
Comment on lines
+111
to
+116
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cometkim Do you know why this is here at all? It was added in #7108.