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

Add applyMergeBy #3

Closed
pgujjula opened this issue Apr 26, 2024 · 1 comment · Fixed by #9
Closed

Add applyMergeBy #3

pgujjula opened this issue Apr 26, 2024 · 1 comment · Fixed by #9

Comments

@pgujjula
Copy link
Owner

Add a function

applyMergeBy :: (c -> c -> Ordering) -> (a -> b -> c) -> [a] -> [b] -> [c]

This is a little tricky since the underlying priority queue from pqueue does not support custom comparison functions.

@pgujjula
Copy link
Owner Author

pgujjula commented May 8, 2024

@pgujjula pgujjula mentioned this issue May 9, 2024
pgujjula added a commit that referenced this issue May 9, 2024
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 a pull request may close this issue.

1 participant