Skip to content

Add {Int,Int32,Int64,Nativeint}.{min,max}#10391

Closed
nojb wants to merge 7 commits intoocaml:trunkfrom
nojb:minmax
Closed

Add {Int,Int32,Int64,Nativeint}.{min,max}#10391
nojb wants to merge 7 commits intoocaml:trunkfrom
nojb:minmax

Conversation

@nojb
Copy link
Copy Markdown
Contributor

@nojb nojb commented May 4, 2021

Fixes #10389

  • The first commit adds the new functions
  • The second commit (optional) uses them in the rest of the stdlib

Copy link
Copy Markdown
Contributor

@xavierleroy xavierleroy left a comment

Choose a reason for hiding this comment

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

You need @since annotations everywhere. Otherwise this looks good to me.

@nojb
Copy link
Copy Markdown
Contributor Author

nojb commented May 4, 2021

You need @since annotations everywhere. Otherwise this looks good to me.

Thanks, fixed.

@nojb
Copy link
Copy Markdown
Contributor Author

nojb commented May 4, 2021

Closing in favor of #10392 which has a greater scope (it adapts the compiler codebase as well).

@nojb nojb closed this May 4, 2021
@nojb nojb deleted the minmax branch October 10, 2021 12:54
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.

Expose {Int,Int32,Int64,Nativeint}.{min,max}

2 participants