Skip to content

Conversation

@turion
Copy link

@turion turion commented Nov 14, 2022

Basic draft proposal for #15. Quite some code can be deleted. I find the custom order also very nice. It seems that this refactoring has uncovered a bug, #16 .

To dos

@@ -0,0 +1,25 @@
defprotocol Compare do
Copy link
Owner

Choose a reason for hiding this comment

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

We can implement a protocol only once per type, correct? That might be a problem when trying to have closed intervals with different order in the same VM.

Copy link
Owner

Choose a reason for hiding this comment

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

That is actually something I use: I have a project with different ord implementations on the same type.

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.

2 participants