-
Notifications
You must be signed in to change notification settings - Fork 662
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
Dates are not comparable #1482
Comments
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
You can use this comparison function with this sorting function. That won't help you if you want to put them as keys in a Dict, though. |
Added to meta issue #1008, thanks for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried sorting a list of Dates but got an error due to them not being comparable. Here's some code that produces this error:
I expected this to compile but instead I got this compiler error:
I'm using elm 0.17.1.
The text was updated successfully, but these errors were encountered: