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

sort/compare does not work with function! #720

Open
rebolbot opened this issue Apr 22, 2009 · 4 comments
Open

sort/compare does not work with function! #720

rebolbot opened this issue Apr 22, 2009 · 4 comments

Comments

@rebolbot
Copy link
Collaborator

Submitted by: meijeru

the actual function supplied with sort/compare does not get invoked (or a result of true is consistently obtained)
>> sort/compare [1 2 3 4] func [a b] [a > b]
== [1 2 3 4]
; should be
== [4 3 2 1] ; works in REBOL 2

CC - Data [ Version: alpha 48 Type: Bug Platform: All Category: n/a Reproduce: Always Fixed-in:alpha 55 ]

@rebolbot
Copy link
Collaborator Author

Submitted by: BrianH

This is the same bug as #161.

@rebolbot
Copy link
Collaborator Author

Submitted by: meijeru

Thus, once this is tested, #161 can be put to rest also

@rebolbot
Copy link
Collaborator Author

Submitted by: BrianH

Yes, but please remember to search the tickets before you submit stuff, if you can. We're trying to cut down on duplicate tickets.

@Oldes
Copy link

Oldes commented May 24, 2019

Not a problem in my branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants