Skip to content
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

Compare mori collections with < and >? #99

Closed
dahjelle opened this issue Jul 15, 2014 · 1 comment
Closed

Compare mori collections with < and >? #99

dahjelle opened this issue Jul 15, 2014 · 1 comment

Comments

@dahjelle
Copy link
Contributor

Some brief testing indicates that mori collections will sort consistently the way I'd expect. For instance, from the Node REPL:

> m.vector( 1, 1 ) < m.vector( 1, 2 );
true

Is that a behavior that I can rely on, or is that just coincidental? Is there a better way to do this sort of thing?

@swannodette
Copy link
Owner

@dahjelle that's definitely incidental, not even sure what's going on there.

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

No branches or pull requests

2 participants