Skip to content

Conversation

@JamieBallingall
Copy link
Contributor

@JamieBallingall JamieBallingall commented Nov 9, 2021

Adds a note in the comment to the Ord typeclass indicating that Number does not have a fully law abiding instance of Ord. This is because NaN <= NaN evaluates to false.

This PR closes #276.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@thomashoneyman thomashoneyman merged commit ac720e4 into purescript:master Nov 9, 2021
@JamieBallingall JamieBallingall deleted the ordnote branch July 5, 2022 22: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.

Number is not a fully law abiding instance of Ord

3 participants