-
Notifications
You must be signed in to change notification settings - Fork 377
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
Add spec for Ord #233
Comments
To avoid specifying |
@davidchambers that would allow us to state the laws without referencing functions not defined in the spec. Though, by limiting the allowable values of |
We could just punt by adding a pointer to the 262 spec. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Motivated by sanctuary-js/sanctuary#353 I think it makes sense to add
Ord
.From purescript-prelude
This may require specifying
Ordering
as well (though I haven't seen much movement on spec'ing data types #185):From purescript-prelude
Specifying
Ord
would allow generalizing several comparison (lt
and friends,min
&max
) as well as sorting functions (sort
,sortBy
).The text was updated successfully, but these errors were encountered: