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

Adding new algorithms? #20

Open
merijn opened this issue Jul 26, 2019 · 2 comments
Open

Adding new algorithms? #20

merijn opened this issue Jul 26, 2019 · 2 comments

Comments

@merijn
Copy link

merijn commented Jul 26, 2019

Great that vector-algorithms is now on GitHub, since I couldn't be bothered to deal with darcs!

Is there an idea of how to deal with the inclusion of non-sorting algorithms. Obviously the current module hierarchy is a bit...inconvenient since it doesn't split by algorithm and all the algorithms are currently sorts. I've been wanting to add an implementation for (partial) Fisher-Yates shuffles to vector-algorithms (if I ever find the time...), but I'm unsure how I should make it fit within the module hierarchy...

@erikd
Copy link
Owner

erikd commented Jul 26, 2019

If we add something big, the module hierarchy could be rearranged and we could bump the version numbers appropriately.

@Boarders
Copy link

I also wanted to add new algorithms and wonder what module name would be the best place for it. It could be something like Data.Vector.Algorithms or something like Data.Vector.Algorithms.Util. Eventually if more were added then it would be good to put the sort hierarchy into the form Data.Vector.Algorithms.Sort.[X].

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

3 participants